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

From: Shawn Guo
Date: Sun Jan 01 2023 - 00:46:20 EST


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@xxxxxxxxx>

Applied, thanks!