]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sc16is7xx: Make sc16is7xx_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 12 Oct 2021 15:39:43 +0000 (17:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 12:34:07 +0000 (14:34 +0200)
commitbebea598c87feef44c5b01d2eed8d6e47d9dabb5
tree96ec251cab24c00f8e79f24524e9414f470fd58a
parent3f0c9a0e724cdc7684c71650241bc96bb17b5c5c
serial: sc16is7xx: Make sc16is7xx_remove() return void

Up to now sc16is7xx_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-19-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c