soc: imx: imx93-pd: No need to set device_driver owner
authorDeepak R Varma <drv@mailo.com>
Thu, 22 Dec 2022 17:53:16 +0000 (23:23 +0530)
committerShawn Guo <shawnguo@kernel.org>
Sun, 1 Jan 2023 05:29:00 +0000 (13:29 +0800)
commit083dab5e69f3dc9a3c85b2d690ff91cfed57e926
tree3fd3ab84d080fa33fb3c2342585bc29290487a14
parent06a9a229b1592abeb10728c8564492f0729f4b83
soc: imx: imx93-pd: No need to set device_driver owner

There is no need to exclusively set the .owner member of the struct
device_driver when defining the platform_driver struct. The Linux core
takes care of setting the .owner member as part of the call to
module_platform_driver() helper function.

Issue identified using the platform_no_drv_owner.cocci Coccinelle
semantic patch.

Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/imx93-pd.c