[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024061143-petition-precision-ebc9@gregkh>
Date: Tue, 11 Jun 2024 08:36:50 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Andrew Davis <afd@...com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Jonathan Corbet <corbet@....net>,
Rui Miguel Silva <rmfrfs@...il.com>,
Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>,
linux-gpio@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, greybus-dev@...ts.linaro.org
Subject: Re: [PATCH] gpiolib: Remove data-less gpiochip_add() function
On Mon, Jun 10, 2024 at 08:53:13AM -0500, Andrew Davis wrote:
> GPIO chips should be added with driver-private data associated with the
> chip. If none is needed, NULL can be used. All users already do this
> except one, fix that here. With no more users of the base gpiochip_add()
> we can drop this function so no more users show up later.
>
> Signed-off-by: Andrew Davis <afd@...com>
> ---
> Documentation/driver-api/gpio/driver.rst | 5 ++---
> drivers/staging/greybus/gpio.c | 2 +-
> include/linux/gpio/driver.h | 4 ----
> 3 files changed, 3 insertions(+), 8 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists