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

From: Andy Shevchenko
Date: Thu Jul 20 2023 - 12:09:28 EST


On Thu, Jul 20, 2023 at 4:49 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.

The Subject is broken.

--
With Best Regards,
Andy Shevchenko