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)
commitc79468b8955b4924b5aca858247395265201ac42
treecb5c80c076be048198a3b52a77e583785764430c
parent8aae4b02e8a6dd138afd2b54d9984d17685b0364
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