serial: max310x: Make max310x_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 12 Oct 2021 15:39:42 +0000 (17:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 12:33:59 +0000 (14:33 +0200)
commit70b4d23226c85a30affd612a05c5898a724bcd62
tree0369cccc3cbb3bbff7b99b0f0f77c413fe87f7a6
parent2cb3315107b5b3312b0f434efdb3ad354274e2a5
serial: max310x: Make max310x_remove() return void

Up to now max310x_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 spi remove callbacks is ignored anyway.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211012153945.2651412-18-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c