From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEE13C53210 for ; Sun, 1 Jan 2023 05:36:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbjAAF3s (ORCPT ); Sun, 1 Jan 2023 00:29:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjAAF3r (ORCPT ); Sun, 1 Jan 2023 00:29:47 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 965D962D9 for ; Sat, 31 Dec 2022 21:29:45 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id D63E3CE0950 for ; Sun, 1 Jan 2023 05:29:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14AE5C433D2; Sun, 1 Jan 2023 05:29:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672550981; bh=89iz10CRf6sE4nl3+7jyD4inuyE1Gpb4QmuDRVtvMNg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=owKSLecdqPQUgeoV+cO5/q7oVzQF4co9xEWJ/s184L8Gr1/sLOf1aLzV11TIr7/d9 HwOYKRzsuq8wMjMG7C+8cAFtwb7h8oMBNzyuHXznuygPhGGQx1y1Nt5pLOwF/CyNKJ eu2lWs9t0ToeuZ/fetlUZxFoq6dx0nFOtPqXhrPaooWTr4G0Um44XBk7RJXpQzbd6C zkjmWvwB0qA4b3g8fEyZh8RNeTb7JbiaqfjUsbLggUiBeJ6t2FNXqg8MnOnjTKTJX1 DJ7PsZ9VZGDLBzLuYueqeBGQViG5Qu+FcoBAoH75zzskYb0GcZFhhKzTEIIZFm9OqA DSoNqkHKEe+RQ== Date: Sun, 1 Jan 2023 13:29:34 +0800 From: Shawn Guo To: Deepak R Varma Cc: Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Saurabh Singh Sengar , Praveen Kumar Subject: Re: [PATCH] soc: imx: imx93-pd: No need to set device_driver owner Message-ID: <20230101052934.GZ6112@T480> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applied, thanks!