Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9188454rwl; Sat, 31 Dec 2022 21:33:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXsfP6Z8hiGyu8KQxkbtmER7VQ7m21vy40FoyeS9ayI6rpRChkQBsB/o07SUq85o8XXHXNR8 X-Received: by 2002:a17:906:8592:b0:7f9:fa80:886a with SMTP id v18-20020a170906859200b007f9fa80886amr30978256ejx.73.1672551203310; Sat, 31 Dec 2022 21:33:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672551203; cv=none; d=google.com; s=arc-20160816; b=JGMb1WR/ua1o6pHi6ap2hvApg2XpdgsBqOM71zUKlx36oVzyDfTvPFdaT9d0DGoEOz Lys09eZkRldfPUJDHynWcFJzKepPMw8gs2IdOXt9HFfHgCAJqYetkLjx3Roc4Q4fD5Hg UoUB2c/Q+mv8cX08YadmYt9WorzVX9L9kdTGUNNjjmYJu+AF1fAI4MFkT7tx2kelXNwq /4kEWskm6visCWUIvfb3Ds4E5J/yyIKLoHxvEz8imO3Jp3FlK6pRx3pWGBs+SCbZA9JL 3NfAFkKxdtVfxMg8L6uzeN76YsOgSM7zrVDlBo9Dkxw4NCzM+zLZOMEI5TISQfyx3tk2 IfQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=a29I/rOc4wgvYQBcn9UThNvKCnuqTuh5rfBq5ZCdtC8=; b=0X+ZSU+ckQa8n0cjOHweLl7ZFYRGW0PJuznCxANGnrs9mI+0AsHjyE4EOL73Rd71Dk 9Pm2iJF5fiWpeARnL16H7Y8cHYQLpytPNrqELDBfCBLH/uLwC0nY1bj+QKaTC7NaSY9V SK5+2Uq9r7rTTAgxr+1AiHFTxvqpTZZb+gspW4tDo14l6awa1HDdp0SK8PqQNizYaIVY yV955lKGPhKmc7pyqJe/HPnwDQqpKiN3BQEId/0YHavG8I6NU1GEp6DobT9AdwaroJ3G Qf1lLFXceH+dXXU4zP/Nm2gRgPyyb7eFJiZDZAQqJV7NY+/+gXQwct109iCUlAnJEYQm WX/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=owKSLecd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq26-20020a1709073f1a00b007a835c56b70si21668548ejc.267.2022.12.31.21.33.07; Sat, 31 Dec 2022 21:33:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=owKSLecd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229589AbjAAF3s (ORCPT + 62 others); 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) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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!