diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 05:26:40 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-10-08 15:49:19 +0200 |
commit | 3cb3b2bfddcdf0bd44b787127b52c2bd1ce9f291 (patch) | |
tree | 9a5a58455f8385d4db9b8c56732704cc92620ccc /drivers/pwm/pwm-lpc32xx.c | |
parent | pwm: mxs: Remove redundant of_match_ptr (diff) | |
download | linux-3cb3b2bfddcdf0bd44b787127b52c2bd1ce9f291.tar.xz linux-3cb3b2bfddcdf0bd44b787127b52c2bd1ce9f291.zip |
pwm: lpc32xx: 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>
Cc: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-lpc32xx.c')
-rw-r--r-- | drivers/pwm/pwm-lpc32xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm-lpc32xx.c index efac99e03d57..9dc0f9d42bfa 100644 --- a/drivers/pwm/pwm-lpc32xx.c +++ b/drivers/pwm/pwm-lpc32xx.c @@ -169,7 +169,7 @@ static struct platform_driver lpc32xx_pwm_driver = { .driver = { .name = "lpc32xx-pwm", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(lpc32xx_pwm_dt_ids), + .of_match_table = lpc32xx_pwm_dt_ids, }, .probe = lpc32xx_pwm_probe, .remove = lpc32xx_pwm_remove, |