]> 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)
commit0f0df74d13a2b0df3f7a0818a489511d7d98deea
treecb5c80c076be048198a3b52a77e583785764430c
parent4b1b2b7d32781715fce3c3091ec456e2d182e29e
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