From patchwork Wed Mar 8 19:43:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Alcock X-Patchwork-Id: 13166367 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 05C1BC678D5 for ; Wed, 8 Mar 2023 19:46:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230001AbjCHTqr (ORCPT ); Wed, 8 Mar 2023 14:46:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjCHTqU (ORCPT ); Wed, 8 Mar 2023 14:46:20 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA24E85379; Wed, 8 Mar 2023 11:45:41 -0800 (PST) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 328HiCrW003041; Wed, 8 Mar 2023 19:44:36 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=/WyOj0J0K/oIqLF/NCdiTDxqjTcvuZ3i9Y1qst5rgmk=; b=NvGP85OqWVImYwYMYnWtOHubitbGKBuXyCCzpMKf58KN19OMQIHzytRXeICeB4gRCImI GYBifdLUwP4n2ogJo9e9SiAuZ5G/1H3fOk2OekiHXfyrqWyvk/JPyJGQOsDvc1z26Dny ZFl+k+6thA85n/FN3H9Xw4vEr/1MJQhiA+qodHLLCEiddu4Xo9wg9WXH7HVrst8iMm/T w35cTrPuP9vj7fhEERjv+O/vJx6uF7/tD/YkB9/pJlFKu//tVyTDUmYj6YekWe6uPjRy gMtlTexJ6CJXR1N7/ULZ0zW5+8WZyA9Rstd4SFaHkdmEmALdi6RynqfsjAjA0FCXx7ym LQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3p415j144y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Mar 2023 19:44:35 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 328JI8Ik015552; Wed, 8 Mar 2023 19:44:34 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3p6femr9q5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Mar 2023 19:44:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DV/EnZSF65pnnR7JcjBisxTn2BCxCcRiudwhB42B8Tdie+ViGGFf0OHfpqTuTTUpuuyYSKlPmIdQQZMWIhvHDZkp5T8rwhuDgR5p+5DHl9OZR6huX/nQt7+xP2Jhq/B+tUKMGc4UyMoe3Uu/PpVSgPJM4+3+jQ+7KkmMbOOYbs3Z63JBmdc6WJWPwehsHCxG4l6hSLHDZUzX6t1vWAf0Q62khtUR8TTqBz64g55jh2A/HAHPBCsUQ47t+7ztQNLdaeWYPNTlNU531igiW8QnJfJRXKKzYXzWyJCxUMmIhQ6Me+9SksLGr6GTOMvsX1TwZ7l/U3qEN3DSKLxrWy/h6g== 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=/WyOj0J0K/oIqLF/NCdiTDxqjTcvuZ3i9Y1qst5rgmk=; b=oNqm3CYO2RJwy7HSZ9hNYLimcPijWHWjVd3dF0mI3m0XRcWCHtY+OikAeWIAt97lbVcADCKSSsgv2iBxD7NxbuCFsetJMG9gJSquF7nNOIl/ukLUEz/rhhrck2Q1JZ6YEsaQA+BiaJqKR1G3TSAIcXhn2h5crk4U7Ma+OIDmWkY+VA2FhUMLi8pAnj97aDRI4KOHy0rP3nnNcbek0Dl0lZVaMCpMduUXA6ZENFbMZgaOaHpSHE+RYFQVPd+Mza8G7fnrRGYJveXeHQJwnJspBOKfYj8cxmLVJk++I44mmYwdLwWMgEDs/hwGJ8VTLJVjivTbEQ2Or5Orse88quDoQg== 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=/WyOj0J0K/oIqLF/NCdiTDxqjTcvuZ3i9Y1qst5rgmk=; b=h9UHXnHg1zxy/meDD5wzO2A5vtGLeDO3AIN/uh955hAlP/z2gcb11HoPLAVMrCxyD+s/a06TL56y9XxkkywNbSa5ujAuRBTIUN/SuDThv50HWJeE71bT0mO0ZIVnmo2B9x1SX3AR7F+at7HxVE2PFsGOBSty2LQW7cFYeR7R3Zk= Received: from DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) by PH7PR10MB7034.namprd10.prod.outlook.com (2603:10b6:510:278::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.16; Wed, 8 Mar 2023 19:44:30 +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.027; Wed, 8 Mar 2023 19:44:30 +0000 From: Nick Alcock To: lee@kernel.org Cc: Luis Chamberlain , linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Lindgren , linux-omap@vger.kernel.org Subject: [PATCH 18/18] mfd: twl6040: remove MODULE_LICENSE in non-modules Date: Wed, 8 Mar 2023 19:43:07 +0000 Message-Id: <20230308194307.374789-18-nick.alcock@oracle.com> X-Mailer: git-send-email 2.39.1.268.g9de2f9a303 In-Reply-To: <20230308194307.374789-1-nick.alcock@oracle.com> References: <20230308194307.374789-1-nick.alcock@oracle.com> X-ClientProxiedBy: LO4P265CA0101.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::10) To DS0PR10MB6798.namprd10.prod.outlook.com (2603:10b6:8:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB6798:EE_|PH7PR10MB7034:EE_ X-MS-Office365-Filtering-Correlation-Id: da2e98c8-9e36-4ad0-3507-08db200d88e4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gkaGDj3pxgiXFK2TTiuz0HWlib1bD/IcyB4KQSU4cqlVDbZuYVukxN5B/bXMITGUrwAOcoYKgmmbnAqBToCSygzCCdxCVFJFBxJXldISh4ILRyabpR9qWdlqy/3t0xCB2pdm47H27tmaQ9U+8mBU2l0fnuhQ3Mv/i3+mrizAHi5h2JtJDQF//8Ubod1nhrw+1VtaZKQDh9V0Yl3K+AczWjsLgbhFwzUflV3GMzgj8M778ItfuKFYawnQOlUHDkS1sBWwCqFrTTDMFTQa6ymaOhQURay01tqeS43bpc65rwy7HTZ1TX/DJt4QUFY0VpwTZ3Sivcsy2qcuouB/+xtDrnOwL8lrct0ZE6JaMiPbq5P0Y/vebISGm5br8fd59t7mMXTUvC9Ee+GPi53vfdkzLt8S89fKqe/ahQBzoPtf7qDTGSRbtJsQSWURnqaDn4lBI+93wQAHZhU1D6mS2B2pRcGhlCEmuVZrDzzoL8DFSTMbP4Kzbrq6YF0/zse0PIs4j41o6JdgwhDsElozOnG+jSJ2T0uQwfx698s1X8vfp3bh8GGKA255tKdiLI5dCJW50+mlCvXYcWoGd8wWLPNfUqvceHaCPKapBZkUew7n4Xak3rYBsWERyxBvQWeP8HekygfswPNwfT0ks9UgGjVFLw== 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)(396003)(366004)(346002)(39860400002)(376002)(136003)(451199018)(44832011)(8936002)(6486002)(83380400001)(5660300002)(186003)(478600001)(1076003)(6666004)(36756003)(6506007)(6512007)(316002)(2616005)(54906003)(86362001)(41300700001)(38100700002)(66556008)(8676002)(66946007)(66476007)(6916009)(2906002)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BA6xI0Xof5XV6tUuu0RZo+bswZQpAdW7k7d2O1tMKrXUgabjBYhPnvB9Ms+DuueHaz7jXMclZtlgo0YpzpyB4/MI/wqlNuLkRUL2Eyq7edD9au8gQu0JgACLkC02ZU1o6M9lK8OiRVEyqMOBlWTvryILA/6xoniLEsiLjnZXpJBvm6FzPr9WyfSEWZEk5bqldtopzbO38lX+rcfiGz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JYmJJXEmIQj/wdeZTG4mc6r91DjONae/isDsFwZ9bbIA4lfMzcG996KaEzJo3/c14vy7dB7DwN2Vr4mPLUOyFrurU0NJyxH7SeH/mM6CfGFggOeQP14vwuOQZZFucnfvMkYkyKxgrR8+KrJXHbSDop4JqmmMfrzKDtERoh439eusT3r9WB2a2qs0mQeWUDE3CzlkbOPY/VPtnMOkJCZ6eQ+ExUT85mkm5kWCIfJva8GMQnYTBn5fLzZn6UV2i6EqI411PFT+uwGJQ4LP5EUpjgrsAc+npzchabsGc+cxWYRKV8EThMMlL059Pw52fNdXc0KLNKeAjJ36hn7JYJzcHIzEk= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: DB9iGBz5FFFJpKQOoFlO9S0dNa91yhHjjms0LrHzVgI9FN/nyPSFD/bf7qnECLRYDVb1Vhvty98lK56LV3HUQ1DdnkI0E9YoK01N9W0N8lqYFRpLk/z30f7Upxa8KOiXbNlY2324XJhcbXcv8jqIVgs9+WoP0cIIzy3QtHe818u/0COygBGFIt1jjsxlOl1zrzJ6Z28Zis5y54ykNEZMUlS6lyj2EFB/uspLNYHw99lG+drhaD5fLoruf1MvhRxolieYa8634Ma+d8uwG0J/Xklng914u9YBvzBX8aXsgZxR4vtTof0H3dAGQGFXJ9h7nqW+Td08hNCbXTyJF6/5E1KU8u8/IrO7/bBAAt4fbhYGq1X4sscPU4vMutRzhg7gySNizmOxX3X2MujCn07EX49ke50jroh1Cgd/Gt596QLjTSW2/QKsXkwm4xo8kZPa6+shTuG2fauE7UUX5PGez77U8Bs24Y17B9SQyBTQNr8zWWmWVvGb8E9c3ow9ppC8mTVmgqVjWkgMhYoRTpw95EloAh0R2gi38XG48er0jwaLnjCDFp+dRhwqoFsxqr2BAvBsW+JxiKkRe98DyTsb4/rHWyZKTi35b4LEeUZvhaKpGvFnUlCPfIzt0dEsRZaDw+ld+p7RaFZG6DQxPWc3uuNg5+bzVIAalz5mcIK17VTORTf9QbVIYYkz8bjP46UauVB7UqpsaBg6FQS6AifMzTpGXQwtLhCBPLz+C0RhoWqu5cFaIG9PhOV5uoToTy9Bc7v9MPtx1Y8BYZmvY+mV1jeyqnsRGk+wVMw8uxcDMajFCwNtBP6e1wer7onT6CZu X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: da2e98c8-9e36-4ad0-3507-08db200d88e4 X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB6798.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 19:44:30.7315 (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: xSeFa09gYnIlf9gqIVbSj8ENemzhn9+izkdzARFB85Z3jRfGlZqN99R/RVygkwMZD1AtU5SBNdAo8C2VGS3DLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB7034 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-08_14,2023-03-08_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303080166 X-Proofpoint-GUID: 6rXVO0jsSBkEAIuVCw5W_78d4gRGGdlc X-Proofpoint-ORIG-GUID: 6rXVO0jsSBkEAIuVCw5W_78d4gRGGdlc 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: Tony Lindgren Cc: Lee Jones Cc: linux-omap@vger.kernel.org --- drivers/mfd/twl6040.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c index fc97fa5a2d0c3..e982119bbefa5 100644 --- a/drivers/mfd/twl6040.c +++ b/drivers/mfd/twl6040.c @@ -839,4 +839,3 @@ module_i2c_driver(twl6040_driver); MODULE_DESCRIPTION("TWL6040 MFD"); MODULE_AUTHOR("Misael Lopez Cruz "); MODULE_AUTHOR("Jorge Eduardo Candelaria "); -MODULE_LICENSE("GPL");