pwm: sprd: Don't check the return code of pwmchip_remove()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 22 May 2021 15:04:32 +0000 (17:04 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 30 Jun 2021 17:12:18 +0000 (19:12 +0200)
commit76982e478de4d682cb5fca26d6d3efe2d2545722
treef497f303ca83961ec98df360ae16d663e1b77932
parentfde25294dfd8e36e4e30b693c27a86232864002a
pwm: sprd: Don't check the return code of pwmchip_remove()

pwmchip_remove() returns always 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-sprd.c