thermal/drivers/mediatek/auxadc_thermal: Removed call to platform_set_drvdata()
authorAndrei Coardos <aboutphysycs@gmail.com>
Fri, 11 Aug 2023 19:28:47 +0000 (22:28 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 16 Aug 2023 10:33:11 +0000 (12:33 +0200)
commitec6a51927ed3596e16aae0ad9f5762ecaa2af656
treeb15144071bbf2177701a0b9b232b5c18ec949faa
parentf4636b5587842042d883d6ab646289baabba9c5a
thermal/drivers/mediatek/auxadc_thermal: Removed 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>
Reviewed-by: Alexandru Ardelean <alex@shruggie.ro>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230811192847.3838-1-aboutphysycs@gmail.com
drivers/thermal/mediatek/auxadc_thermal.c