Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9365669imu; Wed, 5 Dec 2018 03:43:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/V/FPUiQFVI0eQNOyY0tYkN4yuGv8VkQyPR3BawwyNJK9rqmrSL+DKaHwQ/pXN0aeFf10mB X-Received: by 2002:a17:902:8c91:: with SMTP id t17mr23122345plo.119.1544010194026; Wed, 05 Dec 2018 03:43:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544010193; cv=none; d=google.com; s=arc-20160816; b=qma6r/RvdGQda0mxJZdZo3VCQV3PzkG7IC85eXpEQTlhSwwfeufruvvoaJQXJz88qP LBpLiWWdYR9OP0NRp/LTVasgCAY4hS3qg66HC9/Polas/2KAuDeaHoHCa2ZykzmHZ13t g7RamikF5/3ehxO25o5SZgR+kFET5zXqDSEl0/KasA7XI05NtvdJcXqLScusaUx+K/w/ Zf53mG9vY+Z36MUy8Hpf1ukxLQy42a0Yo8y7NzEwBKDhI7DzkVdgJkqXp2e86EBUGkxf EQOz3HpO0Z1bAEh0RTm1MFLC4iM1xezHJXeTnGSOvYinX81D5lkmZ1TBGOYlbmtTnFLG v/Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FHyZ11q79u8U6LiuxgO+sZhCe7NMrSjqAU17Ilbed9M=; b=LwRLpQPilXz5YlhlvUyLBjY2pm+AXwdEadVNCtinZwbTGt0thoIipSu4ON9IRz+dqz XkB6saxfs1XQ6QvR8Mky6clxKErmM018DEzxgYDDHe3X2N9cqQdpFYyYxApXCRNq0RjB d1JvX2mDSJItBybcag1LJlnxlEiyPor0nBwV63pUyW6ENxPv6/6kFTTo6gM2UDI8vdUf UBToKROPQAavSkw7hxQ2Qvox4ofAdurEYPxd/t9vNuFQ6UJR3WydyB5MB+eJYsi+/gEj nQ9RimrhupDyI8WB3AQacdQdgVv023t8kF2wNwZqVBZ2fg2UeWAvQ6fZuBmWlpsT0WAE dLkQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l66si20126132pfi.5.2018.12.05.03.42.58; Wed, 05 Dec 2018 03:43:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727606AbeLELlG (ORCPT + 99 others); Wed, 5 Dec 2018 06:41:06 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:53320 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727094AbeLELlG (ORCPT ); Wed, 5 Dec 2018 06:41:06 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wB5BdNqL003354; Wed, 5 Dec 2018 05:41:05 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail4.cirrus.com ([87.246.98.35]) by mx0a-001ae601.pphosted.com with ESMTP id 2p3rk7ffrh-1; Wed, 05 Dec 2018 05:41:04 -0600 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail4.cirrus.com (Postfix) with ESMTP id F26C2611C8B6; Wed, 5 Dec 2018 05:44:40 -0600 (CST) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Wed, 5 Dec 2018 11:41:03 +0000 Received: from imbe.wolfsonmicro.main (imbe.wolfsonmicro.main [198.61.95.81]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id wB5Bf32s006488; Wed, 5 Dec 2018 11:41:03 GMT Date: Wed, 5 Dec 2018 11:41:03 +0000 From: Charles Keepax To: Paul Gortmaker CC: Lee Jones , , Mark Brown , Subject: Re: [PATCH 22/22] mfd: wm8400-core: Make it explicitly non-modular Message-ID: <20181205114103.GC16508@imbe.wolfsonmicro.main> References: <1543811009-15112-1-git-send-email-paul.gortmaker@windriver.com> <1543811009-15112-23-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1543811009-15112-23-git-send-email-paul.gortmaker@windriver.com> User-Agent: Mutt/1.5.20 (2009-12-10) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812050108 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 02, 2018 at 11:23:29PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM8400 > drivers/mfd/Kconfig: bool "Wolfson Microelectronics WM8400" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the modular code that is essentially orphaned, so that > when reading the driver there is no doubt it is builtin-only. > > Since module_init was not in use by this code, the init ordering > remains unchanged with this commit. > > A trivial function rename from wm8400_module_init to the name > wm8400_driver_init is also done to reduce possible confusion. > > Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. > > We also delete the MODULE_LICENSE tag etc. since all that information > is already contained at the top of the file in the comments. > > Cc: Lee Jones > Cc: Mark Brown > Cc: patches@opensource.cirrus.com > Signed-off-by: Paul Gortmaker > --- Acked-by: Charles Keepax Thanks, Charles