From: Sachin Kamat Date: Sat, 28 Sep 2013 11:38:31 +0000 (-0700) Subject: leds: pwm: Remove redundant of_match_ptr X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1e08f72dd248645450b01c86ccc066c0a90767d8;p=linux-beck.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 bb6f94898541..2848171b8576 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, }, };