powerpc/83xx/mpc8349emitx: Make mcu_gpiochip_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 21 Oct 2021 10:56:57 +0000 (12:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Oct 2021 13:41:29 +0000 (00:41 +1100)
commitc846891f4aeaa11817f54c8e1957ce744935f3ea
tree115e31e775f9a5093a27f8c9f3bd3ea978b72a2c
parent3a0ba8398730eb42a0c2d8b83c4b07ae6bbf3c27
powerpc/83xx/mpc8349emitx: Make mcu_gpiochip_remove() return void

Up to now mcu_gpiochip_remove() returns zero unconditionally. Make it
return void instead which makes it easier to see in the callers that
there is no error to handle.

Also the return value of i2c remove callbacks is ignored anyway.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211021105657.72572-1-u.kleine-koenig@pengutronix.de
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c