summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-30 08:56:41 +0530
committerThierry Reding <thierry.reding@gmail.com>2013-10-08 15:49:38 +0200
commitbecbca1390a5147b363a34e238e74cffe65eecc3 (patch)
treec71ff0be5b821f417bb728faaf5d747ad9395f23 /drivers/pwm/pwm-imx.c
parent3cb3b2bfddcdf0bd44b787127b52c2bd1ce9f291 (diff)
downloadlinux-becbca1390a5147b363a34e238e74cffe65eecc3.tar.bz2
pwm: imx: Remove redundant of_match_ptr
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>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
-rw-r--r--drivers/pwm/pwm-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index aa6e5c6af6d3..cc4773344874 100644
--- 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,