Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9237343rwl; Sat, 31 Dec 2022 22:53:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXtDpc0kWclZNaUkLmti1YW+3vjz9nafn0n7ZcZ66WUpLZ55FWSy4unGdRrkImipgNm0PGW3 X-Received: by 2002:a17:906:39d8:b0:7c1:2075:199a with SMTP id i24-20020a17090639d800b007c12075199amr29069163eje.76.1672556025242; Sat, 31 Dec 2022 22:53:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672556025; cv=none; d=google.com; s=arc-20160816; b=f+6eqjXhdoghB/6UBPa12am3RTwU2lUGjJnl9478uWLhhBP0qRkhsr8Urw7GSK8F2y Ropi6drC961Jab8o+3FBWGBfSd7GspvYODsaINTjIqqpGQ0eWeFBrX2OnqBgdjXXyZDT B9qtrdQzsup7t16SeVMYksZQR/QbACONPsEfAg906KxFJ7SDoBfvz12rGA/cp31j4t7r wVvBCPr9sYzjwjS6Bj4+6sKG+AivCvR1+iKUqM+bcFGYZQgwx8x7z6gDsSaeGt7B04lx vOX4RLJOKoRG7FHtXi/RmoPFxZNFIPRgB8yHzSWq/hsE6XW5W+s1klhAIpKfGq8MLDr1 WXvw== 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=KWfn2PJQlK5BkF4duIbupbqAQ6+9cieo4o8jPFqwmwU=; b=YAUjrPeELo+gA+29DvuruT3xTN4UuAa+iWxg7IAJ/bSYDdkBCtVFJv8df4GouMYNsb eQtjvyF+jE2UUD+tf/COPxW83SWtoYg96qvOu5llbZaKLxdLQlNGrqMVShOClh8pXRYH GCJW0PKBQWUZ9b/UF5mvCUKH+LHcECBvVuRvPpvyoPCPyLF1N506IwK0Aqb2ooHL6Lwn HZ/9FQEorRprDtKsfKmzjwaeChtTI8ZxrrqdFPz4mqM7V2/7+nJmEMI+9QOedq+myrMZ 4iN5oGtqPY7VQ8flEmcnK8qddNVyzWf49aibX50E18589mVba7PJTtK9fhOJekA63p7e h/bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CnyyH6Vm; 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 xc2-20020a170907074200b007ae30b550e5si21952522ejb.854.2022.12.31.22.53.31; Sat, 31 Dec 2022 22:53:45 -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=CnyyH6Vm; 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 S229479AbjAAFaH (ORCPT + 61 others); Sun, 1 Jan 2023 00:30:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229960AbjAAFaF (ORCPT ); Sun, 1 Jan 2023 00:30:05 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3E766412 for ; Sat, 31 Dec 2022 21:30:03 -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 D1E5BCE0950 for ; Sun, 1 Jan 2023 05:30:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAE22C433EF; Sun, 1 Jan 2023 05:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672551000; bh=q0VqIRoHyqhDGlF24ZE7eHTjVVVmPfleCXKlnlZNoZI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CnyyH6VmV9dlBYipdkaIqqqei1FSzLaUbu+JHhx/DDJ00sfjBzV6TN6ud0dLbeX0N C34Dr5RfBhTb0cpsFh51v8BcLBZCHd5sdJ09BnSIprcGfdEnl8LiPdXy4UD0EIrWjh AE791tjBX7k3omUDMZBiU0arWykuZymX773fAjXaBWdyF9RevmIrqltIkb1HW8ympy 79JEaQrAuotan+k8EXA91UXu5rQ4FABRZEBOa4L4PGUyDs4nku+um1K/fFjuPY/EaF JR2e3rOQc3bw35brbcxTH5U3d/HIfty4mIOZkEq47IcPtn6Rv5j66s3Kzz2q4MHsLJ Vq32q7+B0/c6w== Date: Sun, 1 Jan 2023 13:29:53 +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-src: No need to set device_driver owner Message-ID: <20230101052953.GA6112@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:27:03PM +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!