projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb3b2b
)
pwm: imx: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 30 Sep 2013 03:26:41 +0000
(08:56 +0530)
committer
Thierry Reding
<thierry.reding@gmail.com>
Tue, 8 Oct 2013 13:49:38 +0000
(15:49 +0200)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-imx.c
b/drivers/pwm/pwm-imx.c
index aa6e5c6af6d34275d56fa8a9bb998bf9c641726b..cc477334487494fe014ba8993feb8c674fadad3f 100644
(file)
--- a/
drivers/pwm/pwm-imx.c
+++ b/
drivers/pwm/pwm-imx.c
@@
-297,7
+297,7
@@
static struct platform_driver imx_pwm_driver = {
.driver = {
.name = "imx-pwm",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(imx_pwm_dt_ids)
,
+ .of_match_table =
imx_pwm_dt_ids
,
},
.probe = imx_pwm_probe,
.remove = imx_pwm_remove,