From patchwork Tue Feb 28 13:01:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13154870 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 EAC10C64EC7 for ; Tue, 28 Feb 2023 13:03:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231626AbjB1NDP (ORCPT ); Tue, 28 Feb 2023 08:03:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231350AbjB1NDF (ORCPT ); Tue, 28 Feb 2023 08:03:05 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E0736E9C; Tue, 28 Feb 2023 05:02:55 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31S6P2ii018687; Tue, 28 Feb 2023 13:02:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=9HercEzMIm8FoOqFRLPzepdxtCz7dyCg49LqSqCSdxk=; b=tDvIrTpGTXFpWBF0Zt+HWt5/WEhKv9J4BWhJVGIujTd3H8AhZT7oDY0B4DsTBu9BISnA Ek95iMGUFXDMi0eWgXOVSJ8Nv3XOwdWpXGC+IMNz7N34HMct7vZnte+EXjprLp1JUh1A +Hz8fUoTvBC/EMGh+9YSNKP1e3ULbNa2t8i45pT3d2XS/CPlSV8cNB+cMmv2pa2tCYCk HJObcaVdLQUEqJfWMzXiouetisH46NYSF10ma1zrJH9yS/nphEN+61dHYX7p1tj3MpNq gaULc0LIksZz8pbQjq1KrxupXZKLsYoTfccj4eht7vbYMfQ++tROAlGLeqVogU1jwGZd 4g== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nyba7e1qv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:46 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31SAo7cE013160; Tue, 28 Feb 2023 13:02:46 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ny8s6r8gs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Feb 2023 13:02:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JtBZ1ZhGSPKdEVZQCX0g6DWpUbGGL5ZK8rBJQ0yHV00G17VDIDV1kKq7/FGjnVeDVIGpXe2kiCzWxTjfnu+GMyi7rZoeyj7AZPs7d3JjW0kf417hydu/EGCnJk2y+XW9H105g75/hvJCOuyycsvRe0cQGZABNYw9IXM4vi4fiSDcmYXPSe1VATR6aV20Omz01TuuwoOz1lt3iAHDN5lB5EmLSayHzo+RPOvaLvAbiCmoZpyyMaeaCuCZSy4nOJj6c4BMv/qnhuMafjvr3z593NpJLhl/5toilHjLj6iQyGs6GhVlTUj2N99dK1SyJsG8SMRr29spaA4rmf2g2kGF9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9HercEzMIm8FoOqFRLPzepdxtCz7dyCg49LqSqCSdxk=; b=i+2Z+Top2hvWZZWT2GdABUV4xSTmVb5MnVW4EJVXr1XvCcYW9w9MwIC5FrG57T1ZrSEtnoJDjCdnvZj2xHXQe7uqebTKZ2IX/7FZQ7s9abMfr1SYbnq8NcO9506Gq78Yk/YktfhZr9qw2dfCveceJga5Ev9t+/G0pW08Z5azgeANi1EaQza/kN9ieN07+WdXa0a8HVDMR6UFyUtzEyVkHQNRyZJqiL0lfey8LjXssBpNzI7zWq2KntIvMJ4bF4YEvJ1GPKhJEAgrzIQ6aE0CX00H3OKemxvIs8kNuX0J+4GhwRzs+qcmU4rp9NG66D7MiHTB8fuQUwVQ2NEzlNEVDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9HercEzMIm8FoOqFRLPzepdxtCz7dyCg49LqSqCSdxk=; b=NhEVZXnm9RBtysq5wHaB7AC74WJ4Ro7OMIjdZbGBuEuyVlJgbAiH926QZLRcO+tQNRuUObqumf4SBnZe4oLH3hCCp6x3ns5eemQ2YAhZqgyYnYZzB81hXIQsUvkGSN6Tltw+wxNjoBo91SQtxsO3vgft1KyJzvpkIM7Gqy4I7/k= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by CY8PR10MB7290.namprd10.prod.outlook.com (2603:10b6:930:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16; Tue, 28 Feb 2023 13:02:43 +0000 Received: from DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760]) by DS0PR10MB6798.namprd10.prod.outlook.com ([fe80::d0f7:e4fd:bd4:b760%4]) with mapi id 15.20.6156.017; Tue, 28 Feb 2023 13:02:43 +0000 From: Nick Alcock To: mcgrof@kernel.org Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Hitomi Hasegawa , Geert Uytterhoeven , Linus Walleij , linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH 04/20] pinctrl: renesas: remove MODULE_LICENSE in non-modules Date: Tue, 28 Feb 2023 13:01:59 +0000 Message-Id: <20230228130215.289081-5-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230228130215.289081-1-nick.alcock@oracle.com> References: <20230228130215.289081-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO6P123CA0038.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:2fe::15) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|CY8PR10MB7290:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c4f3b43-dbd6-4bdd-1d91-08db198c1476 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lvi0CBcZ6rjGy9wF8vBtDMrTrV/NiL9xtGzEwIjUJKBv8pJt+vsqfphHvIE1yF6fyX7SnPyzr5vEiibEfffSdUvE72VdYDqHPXLpNNaCdpbyBcVj7UTBXAIj5QPQwXadb5iKudRT0bjbTaDDaSI+oNLZA9aHLh2DdsqYeTt1RxIciGQbVwazWCmlPhzGcLsAXQtQ1j8jQn4ISjdBOoRAQvat75DG/8pg3vnR5Trv2I6ucKQYSBUPAj9opzKaZKeqSD4JgiqpnDBsYsKb5QwrMwPsNGaOM0f+s1rJiLbVwcsA1BQMMCQ5ClWHgRfFPbIFACV4Rlp9LbhTAHJNOwLqkQ6S6hRnzNMNS0e3CoJ5xoWtrHSrPcSAQRQrsKXYTFVIHIrIj7L4getOIRiSsPTIPInxmUZU+PI412o5Ytj6na2ctAebNUGLzDJlPQWqrgkwIQcpsjPB673vy5lOuZ9jNt9jmJEz+/FGmSR4xYj61QlYmOEDHdAOxbQj1J4QxKrVCalTvpJz8fHRRlPL9eUnC8pwmpm08CIa2+6jUIci0KGmYw9AFI8YWoi8aJD5yycD2AX/0yYSt/QcOg+Geu5fsOnf4vyhCDCQ5FsYsV5C5zsTifusMXWAc7PPF9lbAqeeNTBQoJyRk/O35MJDJdjHGQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB6798.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(346002)(366004)(39860400002)(396003)(136003)(376002)(451199018)(36756003)(44832011)(5660300002)(83380400001)(478600001)(6666004)(6486002)(2616005)(6512007)(6506007)(1076003)(186003)(4326008)(6916009)(8676002)(66476007)(66556008)(66946007)(41300700001)(86362001)(8936002)(54906003)(38100700002)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D6dpFePdHb9Rt4XF433YS0YkJiLeRhBas6XuiatJ4zypF/xx1medS81yrzJwGre6FQVRF5cuU4mRRH/KGeQF/9pHPyoYQFtDC11wHtziBYJTB81rBPYNTexaUdJQQihotipycbE44mkU883aYZJ1kV1sLRK2SNsXVKr3Srbic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uhC3FPbyf6xPKCTb8SQrtxGTqhq+5zddQMZr9rb1GmLH+nJdppycMEwOzrSdAv+TZugoUwwl6+X5Ba/mX6uygPpKyYZf8w7qZEQW0gvaGzd27lhWFIh1p0f4M9kzqT0c7mDiuvats77fwgp4UwjUg3o88aSkaeAo136SwBIEejRoYVVV7QdS3qk6aGHuJ8HC18DhCedSkmZVnB0+mtpJPFoySCMSHG/hIB596dJvzwuONyFVvnIWQgjFOYhOHdav8T2dtT X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c4f3b43-dbd6-4bdd-1d91-08db198c1476 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 13:02:43.4815 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6oX/4gEhFa1kpSjbsgSFPuZDHQPuBp3TP91LnuJgqcC6EuuSAR8KdrXLshvtpJC+E0zd1pwGXvMn4WcclhAYWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7290 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_09,2023-02-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302280105 X-Proofpoint-ORIG-GUID: d75hrOkTXy7GXlt7x8T_Xpra8XjANqY5 X-Proofpoint-GUID: d75hrOkTXy7GXlt7x8T_Xpra8XjANqY5 Precedence: bulk List-ID: Since commit 8b41fc4454e ("kbuild: create modules.builtin without Makefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarations are used to identify modules. As a consequence, uses of the macro in non-modules will cause modprobe to misidentify their containing object file as a module when it is not (false positives), and modprobe might succeed rather than failing with a suitable error message. So remove it in the files in this commit, none of which can be built as modules. Signed-off-by: Nick Alcock Suggested-by: Luis Chamberlain Cc: Luis Chamberlain Cc: linux-modules@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Hitomi Hasegawa Cc: Geert Uytterhoeven Cc: Linus Walleij Cc: linux-renesas-soc@vger.kernel.org Cc: linux-gpio@vger.kernel.org --- drivers/pinctrl/renesas/pinctrl-rza1.c | 1 - drivers/pinctrl/renesas/pinctrl-rza2.c | 1 - drivers/pinctrl/renesas/pinctrl-rzg2l.c | 1 - drivers/pinctrl/renesas/pinctrl-rzn1.c | 1 - drivers/pinctrl/renesas/pinctrl-rzv2m.c | 1 - 5 files changed, 5 deletions(-) diff --git a/drivers/pinctrl/renesas/pinctrl-rza1.c b/drivers/pinctrl/renesas/pinctrl-rza1.c index 529c0fc4ec063..48173355a040a 100644 --- a/drivers/pinctrl/renesas/pinctrl-rza1.c +++ b/drivers/pinctrl/renesas/pinctrl-rza1.c @@ -1407,4 +1407,3 @@ core_initcall(rza1_pinctrl_init); MODULE_AUTHOR("Jacopo Mondi "); MODULE_DESCRIPTION("Pin and gpio controller driver for RZ/A2 SoC"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c index 5aa3836dbc226..362c3a0baf1df 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c @@ -1561,4 +1561,3 @@ core_initcall(rzg2l_pinctrl_init); MODULE_AUTHOR("Lad Prabhakar "); MODULE_DESCRIPTION("Pin and gpio controller driver for RZ/G2L family"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pinctrl/renesas/pinctrl-rzn1.c b/drivers/pinctrl/renesas/pinctrl-rzn1.c index 9158c17574923..d73741651419f 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzn1.c +++ b/drivers/pinctrl/renesas/pinctrl-rzn1.c @@ -952,4 +952,3 @@ subsys_initcall(_pinctrl_drv_register); MODULE_AUTHOR("Phil Edworthy "); MODULE_DESCRIPTION("Renesas RZ/N1 pinctrl driver"); -MODULE_LICENSE("GPL v2"); diff --git a/drivers/pinctrl/renesas/pinctrl-rzv2m.c b/drivers/pinctrl/renesas/pinctrl-rzv2m.c index 3b65a71abd9ac..e5472293bc7fb 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzv2m.c +++ b/drivers/pinctrl/renesas/pinctrl-rzv2m.c @@ -1117,4 +1117,3 @@ core_initcall(rzv2m_pinctrl_init); MODULE_AUTHOR("Phil Edworthy "); MODULE_DESCRIPTION("Pin and gpio controller driver for RZ/V2M"); -MODULE_LICENSE("GPL");