Re: [PATCH] thermal: sun8i_thermal: remove unneeded call to platform_set_drvdata()

From: Daniel Lezcano
Date: Wed Aug 16 2023 - 06:33:45 EST


On 11/08/2023 21:40, 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.

Signed-off-by: Andrei Coardos <aboutphysycs@xxxxxxxxx>
---

Applied, thanks

Are you checking neither dev_get_drvdata is used ?


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog