summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-gpio-register.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-12-11 16:11:42 -0800
committerBryan Wu <cooloney@gmail.com>2014-01-27 17:28:51 -0800
commit33fc94506bae75341f083b79e6c2a0ff086a8810 (patch)
tree1687f2774aa295bd3675672abeedf81244baac03 /drivers/leds/leds-gpio-register.c
parentfc1aee038b609dc33067ca9dd477b16ea893cae0 (diff)
downloadlinux-33fc94506bae75341f083b79e6c2a0ff086a8810.tar.gz
linux-33fc94506bae75341f083b79e6c2a0ff086a8810.tar.bz2
linux-33fc94506bae75341f083b79e6c2a0ff086a8810.zip
leds: pwm: Remove a warning on non-DT platforms
This removes a warning on non-DT-enabled platforms: drivers/leds/leds-pwm.c: In function 'led_pwm_create_of': drivers/leds/leds-pwm.c:88:22: warning: unused variable 'node' Really caused by the local variable that is assigned to and then never used. Just do away with the local var, it's not needed. Technically this code path can never be entered without DT enabled, since there's an earlier check about number of children in the calling function, but the compiler can't see that. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-gpio-register.c')
0 files changed, 0 insertions, 0 deletions