diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 05:26:41 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-10-08 15:49:38 +0200 |
commit | becbca1390a5147b363a34e238e74cffe65eecc3 (patch) | |
tree | c71ff0be5b821f417bb728faaf5d747ad9395f23 /drivers/pwm | |
parent | pwm: lpc32xx: Remove redundant of_match_ptr (diff) | |
download | linux-becbca1390a5147b363a34e238e74cffe65eecc3.tar.xz linux-becbca1390a5147b363a34e238e74cffe65eecc3.zip |
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')
-rw-r--r-- | drivers/pwm/pwm-imx.c | 2 |
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, |