[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbEuXtv3OCbG3_WQguSFP=gprHP+6_80j7CU+o-JAFYkQ@mail.gmail.com>
Date: Thu, 20 Jul 2023 21:30:19 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Alexandru Ardelean <alex@...uggie.ro>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
brgl@...ev.pl, andy@...nel.org
Subject: Re: [PATCH] gpio: 74xx-mmio: remove unneeded platform_set_drvdata() call
On Wed, Jul 12, 2023 at 11:49 AM Alexandru Ardelean <alex@...uggie.ro> wrote:
> The platform_set_drvdata() was needed when the driver had an explicit
> remove function.
> That function got removed a while back, so we don't need to keep a pointer
> (on 'dev->driver_data') for the private data of the driver anymore.
>
> Signed-off-by: Alexandru Ardelean <alex@...uggie.ro>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists