[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230101052934.GZ6112@T480>
Date: Sun, 1 Jan 2023 13:29:34 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Deepak R Varma <drv@...lo.com>
Cc: Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Saurabh Singh Sengar <ssengar@...rosoft.com>,
Praveen Kumar <kumarpraveen@...ux.microsoft.com>
Subject: Re: [PATCH] soc: imx: imx93-pd: No need to set device_driver owner
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@...lo.com>
Applied, thanks!
Powered by blists - more mailing lists