[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230126152709.x6l7p3kcecsam3r6@pengutronix.de>
Date: Thu, 26 Jan 2023 16:27:09 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Lee Jones <lee@...nel.org>
Cc: linux-kernel@...r.kernel.org, kernel@...gutronix.de
Subject: Re: [PATCH 1/2] mfd: Make .disable() callback return void
Hello,
On Thu, Jan 26, 2023 at 01:34:16PM +0000, Lee Jones wrote:
> On Fri, 13 Jan 2023, Uwe Kleine-König wrote:
>
> > All implementations return 0 unconditionally, so change the prototype to
> > return void. This allows to get rid of error handling in callers that
> > isn't actually used.
> >
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> > ---
> > drivers/mfd/asic3.c | 17 +++++++++--------
> > drivers/mfd/htc-pasic3.c | 3 +--
> > drivers/mfd/mfd-core.c | 4 +++-
> > drivers/mfd/t7l66xb.c | 4 +---
> > drivers/mfd/tc6387xb.c | 4 +---
> > drivers/mfd/tc6393xb.c | 16 ++++++++++------
> > include/linux/mfd/core.h | 2 +-
> > 7 files changed, 26 insertions(+), 24 deletions(-)
>
> Doesn't apply to the MFD tree.
>
> Please rebase and I'll merge it.
Oh, all the drivers that still provided the .enable() and .disable()
callbacks are gone now. So my patch series is superseeded by
http://lore.kernel.org/lkml/20230126152429.580539-1-u.kleine-koenig@pengutronix.de
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists