[PATCH] thermal: broadcom: brcstb_thermal: removed unneeded platform_set_drvdata()

Florian Fainelli florian.fainelli at broadcom.com
Fri Aug 11 10:43:56 PDT 2023


On 8/9/23 08:48, 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 at gmail.com>

Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230811/6b7b7fec/attachment.p7s>


More information about the linux-arm-kernel mailing list