Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp996284imu; Fri, 7 Dec 2018 12:19:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/UNe2wpUZkFhE5nPb3a7htlN8huWeBYrnoV5PcQHSe9YlthA7wC1Rzr1AJU10oY0ZnRRqyy X-Received: by 2002:a62:e30d:: with SMTP id g13mr3562227pfh.151.1544213963985; Fri, 07 Dec 2018 12:19:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544213963; cv=none; d=google.com; s=arc-20160816; b=ix3YRCfLEPnXSwmqpuaKUzZPyNK28ylFP+ntg3J2/JF/ppkRXDPaiwYArkh2BM4uht RVEddrVnWGeQ5WPQVF5ECfNle1thzET3Atwl3CmRwkhr9arPbv4Pv1UQrKxVV2Ih+JF+ 5FSrKBt988tvrVCsn3OvMs5GGwagWC1cHR0S+K8wfIng+qaOP7JVVfRJOjLR0HlmFc+8 OS0B8xc+XriYnRUvUvjQws7TluZ4GCPBbK7FQuLLnTC1+rQCFxpUNI6u0ECGPVocSF7L /NGDsiIWG71SNmxFh6eZ8q5mOVBH4FxoBdaNuUwTTFviNK1DSyNC1iF7RBx7Mvxfd6kZ TeJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=dO/A59XHrJDQDSvr7hH32xyhVeToCI/74YcnWrhYwEU=; b=qY9YgUjGsfIJgjEu2sFYIZUnhb8QGKB4IyCvuuaDJ/zVykwc6XWM64FEyiqOOrM48G pPQAHLrQiCvItXhBG+m72FQXEv3Oo+DvQihM8IRTGSQX0ShTCvr5me+jzjBbrJfqBtKz j9hIZvdfFG6q+aaFKk/KzjMFo4T8cprGgC1vCnVsjdI5GnGOt52NVmkXuLSEhJKt4qE0 eAW8fDv/O9T/o+GY3dxnFCRn4qZRxfZ4gw34RW7tWedPWJDn5pBwgjPpXjOo18diqb4Q 6rbU2A9ivQI7t9PSYspbFodaRolGbcj8GmpodM3U3JrUJbWNMPOrF9BBtrdWsFOQFdrk gtEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si3854423pfe.127.2018.12.07.12.19.09; Fri, 07 Dec 2018 12:19:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726455AbeLGURP (ORCPT + 99 others); Fri, 7 Dec 2018 15:17:15 -0500 Received: from mail5.windriver.com ([192.103.53.11]:59270 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbeLGURO (ORCPT ); Fri, 7 Dec 2018 15:17:14 -0500 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id wB7KFG65031397 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 7 Dec 2018 12:16:27 -0800 Received: from yow-cube1.wrs.com (128.224.56.98) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.408.0; Fri, 7 Dec 2018 12:16:15 -0800 From: Paul Gortmaker To: Lee Jones CC: , Paul Gortmaker , Linus Walleij , Subject: [PATCH 17/18] mfd: wm8350-core: drop unused MODULE_ tags from non-modular code Date: Fri, 7 Dec 2018 15:11:04 -0500 Message-ID: <1544213465-16259-18-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544213465-16259-1-git-send-email-paul.gortmaker@windriver.com> References: <1544213465-16259-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_WM8350 drivers/mfd/Kconfig: bool ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that when reading the driver there is no doubt it is builtin-only. We delete the MODULE_LICENSE tag etc. since all that information is already contained at the top of the file in the comments. We replace module.h with init.h and export.h ; the latter since the file does export some symbols. Cc: Linus Walleij Cc: Lee Jones Cc: patches@opensource.cirrus.com Acked-by: Linus Walleij Signed-off-by: Paul Gortmaker --- drivers/mfd/wm8350-core.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c index 8a07c5634aee..e6434a4d7439 100644 --- a/drivers/mfd/wm8350-core.c +++ b/drivers/mfd/wm8350-core.c @@ -13,7 +13,8 @@ */ #include -#include +#include +#include #include #include #include @@ -466,6 +467,3 @@ void wm8350_device_exit(struct wm8350 *wm8350) wm8350_irq_exit(wm8350); } EXPORT_SYMBOL_GPL(wm8350_device_exit); - -MODULE_DESCRIPTION("WM8350 AudioPlus PMIC core driver"); -MODULE_LICENSE("GPL"); -- 2.7.4