Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3422649imu; Mon, 10 Dec 2018 01:47:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/WLaeNlRHwJtkBCZO9yQH9YOSdAue7yTHZAQEunTWQ+nlY3g5MoUFSikt5Tez+BpZen1F5q X-Received: by 2002:a17:902:264:: with SMTP id 91mr11607152plc.108.1544435264198; Mon, 10 Dec 2018 01:47:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544435264; cv=none; d=google.com; s=arc-20160816; b=cyaLlHlLMGMKtjH4u14RDimU2YLfCVQXlJcQfyT/GX0kGkOhTQpEZd7o/dCjcVnkma rxg4zOCvhcB0iIxTBluDmIlWHc4tx9ufSJ/yYJZXdxGtPMuJqVEBn+w4xeqYH9Qhd3WB +yIUFSRvU1aluvyvJs/0pYtvZm24AWfzL7ncg5A7qY0HGPswkm6zGPtXafCxOnZzEspD qOk+XPC4VEPQmGEhSLDL1ut4PgRvO3YW9+CLrx+nQU7qricjiaq6GGUhvLObLbhYUb6z gkTr7WQciid5ctSjZjWvsFQ5vIAl45ldEt0bl7I2PVQ/P5itx/DtdoC+Ee1cIJIiPJ0w 6GOg== 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=ywXnszRl23ifRlMI8lN0EcDrB0wEh7h7EDvxlbeJUBI=; b=tpUyYPD8psxqE0eE8cEtu4+gYi9L3kCRvSqI9LudUIldQ4+h1NvmD8MevjNYZMT8Eq HngzzDqvO9hkbaqvGCdEGSNo/ExZqtT41rkliiHUF5tk0r941+KrPW1I/7qHJGJduf3I WkVtnSS/FeEOixwXxo/jdDvMxzpK5lsYZqfx6T6PvViRJLjvIoWB/upDeiu4TJePDa0o fF+eLJW0+CFftL9gpvLGJQzGeu2EvSTyUDqL/VzABycMl/FDO+a+G6aDhPNSfhQbj4WP 3H9uCfLQiJX9hk+nxd7jMYC9EfZNJowzqp6iK1Y12J6mrKMUkwnQ91FLwSUdgE71hW2W H0iA== 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 w24si9026308pgj.582.2018.12.10.01.47.29; Mon, 10 Dec 2018 01:47:44 -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 S1726869AbeLJJZz (ORCPT + 99 others); Mon, 10 Dec 2018 04:25:55 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:46562 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726292AbeLJJZz (ORCPT ); Mon, 10 Dec 2018 04:25:55 -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 wBA9Okeb016776; Mon, 10 Dec 2018 03:25:53 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail1.cirrus.com (mail1.cirrus.com [141.131.3.20]) by mx0a-001ae601.pphosted.com with ESMTP id 2p8c86j6mm-1; Mon, 10 Dec 2018 03:25:53 -0600 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail1.cirrus.com (Postfix) with ESMTP id ED74E611C8C7; Mon, 10 Dec 2018 03:25:52 -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:52 +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 wBA9Pqgq023868; Mon, 10 Dec 2018 09:25:52 GMT Date: Mon, 10 Dec 2018 09:25:52 +0000 From: Charles Keepax To: Paul Gortmaker CC: Lee Jones , , Subject: Re: [PATCH 14/18] mfd: wm831x-i2c: Make it explicitly non-modular Message-ID: <20181210092552.GL16508@imbe.wolfsonmicro.main> References: <1544213465-16259-1-git-send-email-paul.gortmaker@windriver.com> <1544213465-16259-15-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-15-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=840 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:01PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM831X_I2C > drivers/mfd/Kconfig: bool "Wolfson Microelectronics WM831x/2x PMICs 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. > > Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. > > Cc: Lee Jones > Cc: patches@opensource.cirrus.com > Acked-by: Linus Walleij > Signed-off-by: Paul Gortmaker > --- Acked-by: Charles Keepax Thanks, Charles