Re: [PATCH] gpio :lp3943 :remove unneeded platform_set_drvdata() call

From: Andy Shevchenko
Date: Thu Jul 20 2023 - 12:08:40 EST


On Thu, Jul 20, 2023 at 4:29 PM Andrei Coardos <aboutphysycs@xxxxxxxxx> wrote:
>
> This function call was found to be unnecessary as there is no equivalent
> platform_get_drvdata() call, to access the private data of the driver.
> Also, the private data is defined in this driver, so there is no risk of
> it being accessed outside of this driver file.

I got this twice, moreover the Subject is broken.

--
With Best Regards,
Andy Shevchenko