diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-30 03:26:39 (GMT) |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-10-08 13:49:10 (GMT) |
commit | de02cb887cb20d5a7fff5e44acfc67f6fd1ebe0c (patch) | |
tree | c04777ba326a0aecc06e19f333df76a82325a35a /drivers/pwm | |
parent | ea8eeb1502f20ecada3436ec058f65831b4a0fab (diff) | |
download | linux-fsl-qoriq-de02cb887cb20d5a7fff5e44acfc67f6fd1ebe0c.tar.xz |
pwm: mxs: 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: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/pwm-mxs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index c2c5a4f..9475bc7 100644 --- a/drivers/pwm/pwm-mxs.c +++ b/drivers/pwm/pwm-mxs.c @@ -189,7 +189,7 @@ static struct platform_driver mxs_pwm_driver = { .driver = { .name = "mxs-pwm", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(mxs_pwm_dt_ids), + .of_match_table = mxs_pwm_dt_ids, }, .probe = mxs_pwm_probe, .remove = mxs_pwm_remove, |