[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YXE+vxeTVCBazgMU@google.com>
Date: Thu, 21 Oct 2021 11:19:43 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: Mark Brown <broonie@...nel.org>, kernel@...gutronix.de,
linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org
Subject: Re: [PATCH v2 10/20] mfd: tps65912: Make tps65912_device_exit()
return void
On Tue, 12 Oct 2021, Uwe Kleine-König wrote:
> Up to now tps65912_device_exit() 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@...gutronix.de>
> ---
> drivers/mfd/tps65912-core.c | 4 +---
> drivers/mfd/tps65912-i2c.c | 4 +++-
> drivers/mfd/tps65912-spi.c | 4 +++-
> include/linux/mfd/tps65912.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
Powered by blists - more mailing lists