From: Sebastian Andrzej Siewior Date: Fri, 6 Feb 2015 16:04:00 +0000 (-0800) Subject: leds: leds-pwm: drop one pwm_get_period() call X-Git-Tag: omap-for-v4.1/fixes-rc1~129^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed97604e362c67fb5410ce2cbe8769b818cdc0af;p=pandora-kernel.git 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 Signed-off-by: Bryan Wu --- Reading git-diff-tree failed