pwm: berlin: Don't check the return code of pwmchip_remove()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 4 May 2021 13:25:37 +0000 (15:25 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 30 Jun 2021 17:12:18 +0000 (19:12 +0200)
commit0512f0503b051a98608a9b0d33b75482b960a313
tree3ddcea33189dc2d043becf248f15bb61229affe8
parent30dffb42fcd4b127474f089e9c03fbc0dfc649a8
pwm: berlin: Don't check the return code of pwmchip_remove()

pwmchip_remove() always returns 0. Don't use the value to make it
possible to eventually change the function to return void. This is a
good thing as pwmchip_remove() is usually called from a remove function
(mostly for platform devices) and their return value is ignored by the
device core anyhow.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-berlin.c