Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3670903imu; Tue, 18 Dec 2018 02:09:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/VZxH9nykB/HGGX3ZwSHNgqruEWS8lb/atnjpJPsEMvfa7vGLoweAruEjSbXI8Bu98U5Y3V X-Received: by 2002:a63:1b48:: with SMTP id b8mr2367620pgm.187.1545127741636; Tue, 18 Dec 2018 02:09:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545127741; cv=none; d=google.com; s=arc-20160816; b=Vo8F1nR0YJSCIz+JH1FeOZ+oW0ErgFXec5hLrjZSQPel6850LUnT78n5mdkkrxNQA7 OJLEufN10bUImvR/mSmB66wVxhhcFGOsOC+7uj1xBp1p9/a63yEQX1zLtT8tQFLvlc36 ynrmd50WxfPVmr7Rv2VwauxlyF8AlXIdcX5zyRVpVFKLZ/GsZZUqR265IHnrW5zOZXMY LdhRqgbikorAm5Y/xqOK2+Yd+pls/GoLDTivdZpIVdk9sopZVnIaCJt9Gp0joTqxGRNs +7a3uj+DIzqWytnxsjFxaaSOWdc+lvTL20NrfYGQ1pwmepAeSCc/JcaslqxCNFxK4iIY 4iVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:cc :references:to:subject; bh=3RMBeqJNpuADxmMPKHTYe02/ctMc+KBHy65cG0++Hwc=; b=Zw/ySkNqn3TkEJxIJrXFfgN2UZ2jHF0gO+/LMxvuG92rvs8edEDaKC+SYcCOFC8gX5 8OeHqd66HsmhAcFSc4wxZu2nug0MASGM9BmIC9SwS3I1rbZ2Bbjxr+Y/N3/Wc3TQGgN+ llHpxpAiFyKnahfqXMN79OzkFQW0GwFrPtKDaG3/sAOJqZiyoFlLIhmmSZyFsuGRTMHy SO+0RCpW/jkmXWmVnC3h87YoI7XDs8jo+2c0xofvvliqC8r635qRMcknHLHEyeMeXWUQ kS8Ko13T5Nap1JEFuiVInTGXforrFoItKQJTSaLqF1T6YexFJ8yU6FuD9WTdqlif/4ZF Wwfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="QQ4c/JuB"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si12499036pgq.275.2018.12.18.02.08.45; Tue, 18 Dec 2018 02:09:01 -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; dkim=pass header.i=@nvidia.com header.s=n1 header.b="QQ4c/JuB"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726426AbeLRKHu (ORCPT + 99 others); Tue, 18 Dec 2018 05:07:50 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:17165 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbeLRKHu (ORCPT ); Tue, 18 Dec 2018 05:07:50 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 18 Dec 2018 02:07:44 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 18 Dec 2018 02:07:49 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 18 Dec 2018 02:07:49 -0800 Received: from [10.19.64.157] (10.124.1.5) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 18 Dec 2018 10:07:48 +0000 Subject: Re: [PATCH 12/18] mfd: tps80031: Make it explicitly non-modular To: Paul Gortmaker , Lee Jones References: <1545078688-21217-1-git-send-email-paul.gortmaker@windriver.com> <1545078688-21217-13-git-send-email-paul.gortmaker@windriver.com> CC: From: Laxman Dewangan Message-ID: <12b9a17a-bcba-2941-c77e-5e58228b8f02@nvidia.com> Date: Tue, 18 Dec 2018 15:37:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1545078688-21217-13-git-send-email-paul.gortmaker@windriver.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL104.nvidia.com (172.18.146.11) To HQMAIL101.nvidia.com (172.20.187.10) Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1545127664; bh=3RMBeqJNpuADxmMPKHTYe02/ctMc+KBHy65cG0++Hwc=; h=X-PGP-Universal:Subject:To:References:CC:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Transfer-Encoding; b=QQ4c/JuBH8wQ+rDv522n0U61Ajq9L79Ss+lMl9OMT9GrTSBE4LPdSgSsAK0XaUvRh NM1OP1926uyE+Mv1MqsW8WpdqceB/i/XLXHx8cV9cy24pQKuhh2Py4e62gxNlF2DqQ 8FHfCSiqfQ/quS45Dse1Xi2rWrgLAf9n6XUzQwNBShtoT/FiOzj30wr/IFpyVs2Ywa sIx/UcPIJyKyI6OUGkP/6NnrVf6CtUx9uV+zgECaTq5gkK01my4DHnQJ9DiYZu1CAS h1UhPSuorMDMpwdlmVdpabuGIhvr4jAio5ggWb0r4NIzOjPPe+P33Lnp1Vw+EgWgvs l5/komEdyv29g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 18 December 2018 02:01 AM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_TPS80031 > drivers/mfd/Kconfig: bool "TI TPS80031/TPS80032 Power Management chips" > > ...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. > > 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: Laxman Dewangan > Signed-off-by: Paul Gortmaker > Acked-by: Linus Walleij > Acked-by: Laxman Dewangan