commit | ed97604e362c67fb5410ce2cbe8769b818cdc0af | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Fri Feb 06 08:04:00 2015 -0800 |
committer | Bryan Wu <cooloney@gmail.com> | Tue Feb 24 11:42:18 2015 -0800 |
tree | d7ce26a1fa845c1c1f52e844f2d695fd403a85ec | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 [diff] |
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>