[PATCH] reset: npcm: remove unneeded call to platform_set_drvdata()
Philipp Zabel
p.zabel at pengutronix.de
Tue Aug 8 23:47:28 AEST 2023
On Mo, 2023-08-07 at 13:56 +0300, Andrei Coardos 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.
>
> Reviewed-by: Alexandru Ardelean <alex at shruggie.ro>
> Signed-off-by: Andrei Coardos <aboutphysycs at gmail.com>
Thank you, applied to reset/next.
regards
Philipp
More information about the openbmc
mailing list