]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: rcar: Remove a redundant condition in rcar_pwm_apply()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 19 Aug 2019 06:20:12 +0000 (15:20 +0900)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 20 Sep 2019 23:21:58 +0000 (01:21 +0200)
commitf2da2259f3a3ce7112c3dab611534c704d058f6f
treecb5c80c076be048198a3b52a77e583785764430c
parent123c8b026e9da178ef511697ecf05c1fd407523d
pwm: rcar: Remove a redundant condition in rcar_pwm_apply()

Since the rcar_pwm_apply() has already checked whether state->enabled
is set or not, this patch removes a redundant condition.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-rcar.c