From: Sachin Kamat Date: Sat, 28 Sep 2013 11:38:31 +0000 (-0700) Subject: leds: pwm: Remove redundant of_match_ptr X-Git-Tag: v5.15~19009^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e08f72dd248645450b01c86ccc066c0a90767d8;p=platform%2Fkernel%2Flinux-starfive.git leds: pwm: 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 Signed-off-by: Bryan Wu --- diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c index bb6f948..2848171 100644 --- a/drivers/leds/leds-pwm.c +++ b/drivers/leds/leds-pwm.c @@ -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, }, };