Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3410201imu; Mon, 10 Dec 2018 01:31:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/VWNKGWWwzzdkwvEGUK2YLYVrBmpbRPGoRBaNBXQdxNq9C/VNvxS/32pO/sENbmJSuQNFGo X-Received: by 2002:a17:902:4025:: with SMTP id b34mr11555497pld.181.1544434285925; Mon, 10 Dec 2018 01:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544434285; cv=none; d=google.com; s=arc-20160816; b=MBnMNFXAWs3Fzia80adQSBcaJsKfg7vEimQaWo0KU0gcn8BH4wAzzcHLW8GYwbzhaf 1XPUYGrYqmyIX7oBMpsV0cyciyd/LMMFxAQvwpOgfFyZVHm38lU0p4I8OR6t5UltOF9X xGaeXF52dfkTXnef/73BdyKlhHy/RPUKgKb9gNE+oel6iggWt9Rm+CcLzX9Oa1YM62b/ ii3IlL5coQN4by7azMAOrGK3i1XXl6yNRrSbfZtqJ286SZJh/YFxC3CPv1hakNQhh+bc EBX4jEyDBr0EinXMwaK823TXEu2g1cbEknctdeQufAZeTKWLxCF6tOzHIbtG9u3GF5QX ZHYw== 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=Qg70PGRZVWTsb0p1LH/WfthlkgaeQt3G6pxErASAa9w=; b=f3R1FHyV0KTVaGW5qwepof1HfS1Nj6utumJ9Ceh/joIsUXly5t8AuAKgHQ2AME2vNb n4LEsI5HnG8pnSJxaXEe9482KyZDd3HMcYv5oj9PF5u6sJs9QUqdqyRNSXNrAASbtt4H OGfQrDFmHaWvV/pc2evzrwl3jkzyGyig/C48tA3ivvcqxZ2LdmWkZf5u5YY2mgQnx23d rLbfj1odMHZy/9IpsD2mosMCZEQbmKvFM4Z6d7M7w0boIm+4OGHI4f9Ncdrh8zigZD31 DR5WNv+zT6Y2Y/RySPwzAm8f5+LOxd3RCp/JzjXMHnVBCIDh1pa6FSOM07cug0SInbbj EKBw== 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 q17si11039755pfc.198.2018.12.10.01.31.10; Mon, 10 Dec 2018 01:31:25 -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 S1726685AbeLJJZo (ORCPT + 99 others); Mon, 10 Dec 2018 04:25:44 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:54310 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726292AbeLJJZo (ORCPT ); Mon, 10 Dec 2018 04:25:44 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBA9Ot5f028752; Mon, 10 Dec 2018 03:25:41 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail4.cirrus.com ([87.246.98.35]) by mx0b-001ae601.pphosted.com with ESMTP id 2p8b8vt71v-1; Mon, 10 Dec 2018 03:25:41 -0600 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail4.cirrus.com (Postfix) with ESMTP id 7DDC4650F632; Mon, 10 Dec 2018 03:29:22 -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; Mon, 10 Dec 2018 09:25:40 +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 wBA9Pd6H023860; Mon, 10 Dec 2018 09:25:40 GMT Date: Mon, 10 Dec 2018 09:25:39 +0000 From: Charles Keepax To: Paul Gortmaker CC: Lee Jones , , Subject: Re: [PATCH 13/18] mfd: wm831x-spi: Make it explicitly non-modular Message-ID: <20181210092539.GK16508@imbe.wolfsonmicro.main> References: <1544213465-16259-1-git-send-email-paul.gortmaker@windriver.com> <1544213465-16259-14-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1544213465-16259-14-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=949 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812100087 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 07, 2018 at 03:11:00PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM831X_SPI > drivers/mfd/Kconfig: bool "Wolfson Microelectronics WM831x/2x PMICs with SPI" > > ...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. > > We explicitly disallow a driver unbind, since that doesn't have a > sensible use case anyway, and it allows us to drop the ".remove" > code for non-modular drivers. > > Since module_init was not in use by this code, the init ordering > remains unchanged with this commit. > > 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: patches@opensource.cirrus.com > Acked-by: Linus Walleij > Signed-off-by: Paul Gortmaker > --- Acked-by: Charles Keepax Thanks, Charles