pwm: meson: Drop always false check from .request()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 8 Nov 2021 13:46:24 +0000 (14:46 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 1 Feb 2022 07:33:47 +0000 (08:33 +0100)
commit37349609f3a342a9eaff30532bd5560eec1c13b6
treea3843047cf2d4fffd4a5e79d294595944eb55eb4
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
pwm: meson: Drop always false check from .request()

In .request() pwm_get_chip_data() returns NULL always since commit
e926b12c611c ("pwm: Clear chip_data in pwm_put()"). (And if it didn't
returning 0 would be wrong because then .request() wouldn't reenable
the clk which the other driver code depends on.)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-meson.c