Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4982015imu; Wed, 19 Dec 2018 03:42:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/WkgcWwUlLHwd3iFLffOxmqFcnzXe5zwJIcQax6ENLtavCL6CjNv9fhL5mr/mIls2OTK2AW X-Received: by 2002:a17:902:8ec8:: with SMTP id x8mr20154279plo.210.1545219734279; Wed, 19 Dec 2018 03:42:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545219734; cv=none; d=google.com; s=arc-20160816; b=1GPKg95+liwAYxvQy4jUqNESOCrgRYmHOr3YlCM1QSM2nMzeQLjbICDrC3zojQaWsp YNW7XhShMcgI+gYp6LiTJn1wxlGx2wbajde4xUGj8Otp3VPZgMN2K8VVcw/rbZYaSQeJ Bu73d3EIQdjDRoeR41LnjxXu4VDQX/8bhpp5sOkjlpZ2X8AnrHwrYGJyllbNN7rpNfyy rwtsWWtRYm+q5TsUeUphNMXnE4/mhQ250MVevZhrgADrnUVhaKMCxSek1N5UcDH4ecJG sPKtI0X3apPMQ+wAFhhvpJYCRGF20r2eyKd+t8xyuPXhPvTCKYQmwoVNJCBM5f0F0krt dBCg== 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=NtHOj/tOhgFkXDynVcq8wQByhSLQN1MhL8T+ozhUsu8=; b=JWhIhkhhbiE/IP8N9nwG7u6gjq4G95BNeERpWJsTu5ZlRYHYKbn5vdnEbU82/eRvYE U8tPk2MvBwOTyvhap0yGtD0odZ1Me6q/LNBTRlFw/lP4SsrgllV1mPnzWoLjENH7sRmC JFIDnaXMQOhcxTZEU1SzoeAnRs3ySRKbG0G8c5yAObUEco2MPobI+J8+Td37UX/8bCD6 pNytEHVWBNEX7/gUxvb6Ux+za/bzfPB+xWsFyivuS16iKHYoSlpazcvWrwo2pcvaN0Pt F7ShWTYijaXJov0dMRcpm27VrjuB2ZSD4SmPMMyq8W5dyI1mfy3Lywt8i66P7W6kx6DW 1CrQ== 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 b8si16256050ple.185.2018.12.19.03.41.56; Wed, 19 Dec 2018 03:42:14 -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 S1728654AbeLSJOx (ORCPT + 99 others); Wed, 19 Dec 2018 04:14:53 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:37852 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726818AbeLSJOw (ORCPT ); Wed, 19 Dec 2018 04:14:52 -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 wBJ9ANX7026208; Wed, 19 Dec 2018 03:14:51 -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 2pcyw5qj6h-1; Wed, 19 Dec 2018 03:14:51 -0600 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail4.cirrus.com (Postfix) with ESMTP id 7DBF2611B6D0; Wed, 19 Dec 2018 03:18: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, 19 Dec 2018 09:14:50 +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 wBJ9Eo1u011997; Wed, 19 Dec 2018 09:14:50 GMT Date: Wed, 19 Dec 2018 09:14:50 +0000 From: Charles Keepax To: Paul Gortmaker CC: Lee Jones , , Subject: Re: [PATCH 16/18] mfd: wm8350-i2c: Make it explicitly non-modular Message-ID: <20181219091450.GY16508@imbe.wolfsonmicro.main> References: <1545078688-21217-1-git-send-email-paul.gortmaker@windriver.com> <1545078688-21217-17-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1545078688-21217-17-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=931 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812190080 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 17, 2018 at 03:31:26PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM8350_I2C > drivers/mfd/Kconfig: bool "Wolfson Microelectronics WM8350 with I2C" > > ...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. > > We don't replace module.h with init.h since the file already has that. > But we do delete an unused moduleparam.h > > 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 > Signed-off-by: Paul Gortmaker > Acked-by: Linus Walleij > --- Acked-by: Charles Keepax Thanks, Charles