[PATCH] soc: imx: imx93-pd: No need to set device_driver owner

Shawn Guo shawnguo at kernel.org
Sat Dec 31 21:29:34 PST 2022


On Thu, Dec 22, 2022 at 11:23:16PM +0530, Deepak R Varma wrote:
> 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 at mailo.com>

Applied, thanks!



More information about the linux-arm-kernel mailing list