aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/led-class-flash.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2015-02-06 08:04:00 -0800
committerBryan Wu <cooloney@gmail.com>2015-02-24 11:42:18 -0800
commited97604e362c67fb5410ce2cbe8769b818cdc0af (patch)
treed7ce26a1fa845c1c1f52e844f2d695fd403a85ec /include/linux/led-class-flash.h
parentLinux 4.0-rc1 (diff)
downloadlinux-dev-ed97604e362c67fb5410ce2cbe8769b818cdc0af.tar.xz
linux-dev-ed97604e362c67fb5410ce2cbe8769b818cdc0af.zip
leds: leds-pwm: drop one pwm_get_period() call
pwm_get_period() is called twice in case the child parameter is set. I assume retrieving this parameter once is enough therefore this patch removes the conditial invocation of pwm_get_period(). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'include/linux/led-class-flash.h')
0 files changed, 0 insertions, 0 deletions