[Linux-stm32] [PATCH v2 09/20] mfd: stmpe: Make stmpe_remove() return void

Lee Jones lee.jones at linaro.org
Thu Oct 21 10:19:23 UTC 2021


On Tue, 12 Oct 2021, Uwe Kleine-König wrote:

> Up to now stmpe_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 and spi remove callbacks is ignored anyway.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
>  drivers/mfd/stmpe-i2c.c | 4 +++-
>  drivers/mfd/stmpe-spi.c | 4 +++-
>  drivers/mfd/stmpe.c     | 4 +---
>  drivers/mfd/stmpe.h     | 2 +-
>  4 files changed, 8 insertions(+), 6 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the Linux-stm32 mailing list