leds: pwm: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 28 Sep 2013 11:38:31 +0000 (04:38 -0700)
committerBryan Wu <cooloney@gmail.com>
Tue, 22 Oct 2013 17:57:34 +0000 (10:57 -0700)
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>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-pwm.c

index bb6f948985413d4e8c1f5a6b575493a00b2ecef6..2848171b8576f3475c63b0669c5a9788d11e6069 100644 (file)
@@ -232,7 +232,7 @@ static struct platform_driver led_pwm_driver = {
        .driver         = {
                .name   = "leds_pwm",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(of_pwm_leds_match),
+               .of_match_table = of_pwm_leds_match,
        },
 };
 
This page took 0.027168 seconds and 5 git commands to generate.