All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Signed-off-by: Michael Estner <michaelestner@web.de>
       [not found] <20210219174633.8646-1-michaelestner@web.de>
@ 2021-03-01  9:03 ` Linus Walleij
  0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2021-03-01  9:03 UTC (permalink / raw)
  To: Michael Estner, open list:GPIO SUBSYSTEM, Bartosz Golaszewski

Hi Michael!

Thanks for your patch!

Make sure to send patches to the linux-gpio list and Bartosz
as well.

On Fri, Feb 19, 2021 at 6:46 PM Michael Estner <michaelestner@web.de> wrote:
>
> Delete unused else if iteration.
> ---
>  drivers/gpio/gpiolib.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
> index 97eec8d8dbdc..1fe38fc99b8f 100644
> --- a/drivers/gpio/gpiolib.c
> +++ b/drivers/gpio/gpiolib.c
> @@ -612,9 +612,6 @@ int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data,
>         dev_set_drvdata(&gdev->dev, gdev);
>         if (gc->parent && gc->parent->driver)
>                 gdev->owner = gc->parent->driver->owner;
> -       else if (gc->owner)
> -               /* TODO: remove chip->owner */
> -               gdev->owner = gc->owner;

As long as we have not resolved the TODO I think this needs to stay around.

What makes you think this is not needed anymore?

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-01  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210219174633.8646-1-michaelestner@web.de>
2021-03-01  9:03 ` [PATCH] Signed-off-by: Michael Estner <michaelestner@web.de> Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.