From patchwork Sun Nov 3 12:31:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markus Elfring X-Patchwork-Id: 1188550 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 475bMf1Bmfz9sPT for ; Sun, 3 Nov 2019 23:48:46 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=web.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=web.de header.i=@web.de header.b="mCFDleIZ"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 475bMd31DQzF5gt for ; Sun, 3 Nov 2019 23:48:45 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=web.de (client-ip=212.227.17.12; helo=mout.web.de; envelope-from=markus.elfring@web.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=web.de Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=web.de header.i=@web.de header.b="mCFDleIZ"; dkim-atps=neutral X-Greylist: delayed 851 seconds by postgrey-1.36 at bilbo; Sun, 03 Nov 2019 23:46:18 AEDT Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 475bJp1Z1qzDqJl for ; Sun, 3 Nov 2019 23:46:17 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1572785161; bh=ByqX8/BbJJMQuJK30TWcd8h/CfuGh5FVHwsdxMU69s4=; h=X-UI-Sender-Class:To:From:Subject:Cc:Date; b=mCFDleIZHYOfzv8oUlMjanUZKBR0VKDyZafIUlE4I3aI+1Jypvl/UujekA3ut84wq +mCBnEhpQzVQPq/hTiiFld+96hHt1+p6QcYhC8huKi41T2QU+iN8HLhjIoMl58Apxw +4GertMVbxYFsEUV9Gs15YEUEGQiac846V1DU3PM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([2.243.72.216]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Ljrdd-1hpyPg2TCz-00bs3n; Sun, 03 Nov 2019 13:31:37 +0100 To: linuxppc-dev@lists.ozlabs.org, "Aneesh Kumar K.V" , Benjamin Herrenschmidt , Dan Williams , Michael Ellerman , Oliver O'Halloran , Paul Mackerras , Vaibhav Jain From: Markus Elfring Subject: =?utf-8?q?=5BPATCH=5D_powerpc/papr=5Fscm=3A_Delete_unnecessary_a?= =?utf-8?q?ssignment_for_the_field_=E2=80=9Cowner=E2=80=9D?= Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti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SobE601XLo6MYIhPh8MG32MKO5kOY hB5jzyor7WoN3ETVNQoGgMzPVWIRElwpcXr+yGoTLAOpG7nkAUBBj9n9TPpSdt/npfok9ZfL /Q+ranrxb2Cy4tvOPxeVfR58XveX85ICrW9VHPVq9sJf/a24bMm6+qEg1V/G7u/AM3fM8U2m tdrTqOrfxklZ7beppGKzC1/WLrcr072vrdiN0icyOHQlfWmaPv0pUnW3AwtiMYngT96BevfA qlwaymjPTvH+cTXScnbydfOQW8220JQwykUe+sHRZfAF5TS2YCkQvsyf7vIpSqo/ttDk4+xc Z/wsLiWTgKlih2QYULvW61XU+mWsK8+ZlYUrRMpkauN4CJ5yTpvp+Orcz5KixHQmc5tbkLWf x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: <389022fc-71b0-7952-3404-1da136dbdfd9@web.de> Date: Sun, 3 Nov 2019 13:31:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Language: en-US X-Provags-ID: V03:K1:TyXkMJhJt2mjD37pIwKvEn2qwm2H7VRI+BJefISVZ6piVGVXM5v CmKZQMb2hks/JwPQygp9zzlxMCFvJlmj/Cpcp4wy5aGOKncLkFJCrNWHBgE2cOf5oYRiSs5 foUry41e2BGV9yidaolQIh29OPF+fWyYLbHU1RmjmxXYLfam/rybqt+Vg4bdFBHg1uJW0/z ZLXBM0vS8KGUBpY6LXbEA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:BM2XRUCBW5k=:F5J2+pdkZFopixgl6h3M4z UXrCPC4Z8SNWBCP5SUHjXrP/t9Tev/IVbBRZ1OUY/4M9kKHk+qH09J/9Bsl36GYGVakzdUM3k Yam9A4WTL+X0Pub6E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N8oNW0IpTwZ 5AhsIrFBEG+4xQe1wuIdbTrMz7pR6MHF3wZuUR0GDtzwpEpO/VHFxNLTEKETiSy6JdP6x0oMz 7khi+AG0Yq6EzowOUeNzLAUVy316+hqlZH9J2Sp/WXG+nzGiqtqxYQ0o9j0g= X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, LKML Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" From: Markus Elfring Date: Sun, 3 Nov 2019 13:23:13 +0100 The field “owner” is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring Acked-by: Oliver O'Halloran Acked-by: Vaibhav Jain --- arch/powerpc/platforms/pseries/papr_scm.c | 1 - 1 file changed, 1 deletion(-) -- 2.23.0 diff --git a/arch/powerpc/platforms/pseries/papr_scm.c b/arch/powerpc/platforms/pseries/papr_scm.c index ee07d0718bf1..f87b474d25a7 100644 --- a/arch/powerpc/platforms/pseries/papr_scm.c +++ b/arch/powerpc/platforms/pseries/papr_scm.c @@ -513,7 +513,6 @@ static struct platform_driver papr_scm_driver = { .remove = papr_scm_remove, .driver = { .name = "papr_scm", - .owner = THIS_MODULE, .of_match_table = papr_scm_match, }, };