]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: sifive: Don't check the return code of pwmchip_remove()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 7 Jul 2021 16:28:33 +0000 (18:28 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 2 Sep 2021 19:38:55 +0000 (21:38 +0200)
commitde3ec44b77b81f262b9060204e9040284a6e69b3
tree19cd35f34545196b915029c3b8365dd7f18b405e
parent69cb1eb3a40a90d60c92bfbff1b34a7b921ee47f
pwm: sifive: 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. Also the
driver core ignores the return value of pwm_sifive_remove().

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