reset: ti: syscon: remove unneeded call to platform_set_drvdata()
authorAndrei Coardos <aboutphysycs@gmail.com>
Mon, 7 Aug 2023 11:15:34 +0000 (14:15 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 8 Aug 2023 13:31:00 +0000 (15:31 +0200)
commit417a3a5ae44a14b4eeb3df514b2c006b19771f82
tree45ca4d0406fd571b8b0f15ca64d3194b2a344165
parent0c8603cd3031eed1ba95e4998c280dbfb12b55c4
reset: ti: syscon: remove unneeded call to platform_set_drvdata()

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.

Signed-off-by: Andrei Coardos <aboutphysycs@gmail.com>
Acked-by: Andrew Davis <afd@ti.com>
Reviewed-by: Alexandru Ardelean <alex@shruggie.ro>
Link: https://lore.kernel.org/r/20230807111534.12392-1-aboutphysycs@gmail.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-ti-syscon.c