From patchwork Fri Nov 18 05:22:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tan Jui Nee X-Patchwork-Id: 9435775 X-Patchwork-Delegate: andy.shevchenko@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0281360238 for ; Fri, 18 Nov 2016 05:24:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9693285F4 for ; Fri, 18 Nov 2016 05:24:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD37329759; Fri, 18 Nov 2016 05:24:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D57B285F4 for ; Fri, 18 Nov 2016 05:24:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752126AbcKRFXF (ORCPT ); Fri, 18 Nov 2016 00:23:05 -0500 Received: from mga01.intel.com ([192.55.52.88]:28775 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbcKRFXD (ORCPT ); Fri, 18 Nov 2016 00:23:03 -0500 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 17 Nov 2016 21:23:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,655,1473145200"; d="scan'208";a="902780011" Received: from juineeta-ilbpg0.png.intel.com ([10.88.227.42]) by orsmga003.jf.intel.com with ESMTP; 17 Nov 2016 21:22:57 -0800 From: Tan Jui Nee To: mika.westerberg@linux.intel.com, heikki.krogerus@linux.intel.com, andriy.shevchenko@linux.intel.com, tglx@linutronix.de, dvhart@infradead.org, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, ptyser@xes-inc.com, lee.jones@linaro.org, linus.walleij@linaro.org Cc: linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, jui.nee.tan@intel.com, jonathan.yong@intel.com, ong.hock.yu@intel.com, tony.luck@intel.com, wan.ahmad.zainie.wan.mohamad@intel.com, yunying.sun@intel.com Subject: [PATCH v11 2/6] mfd: lpc_ich: Rename lpc-ich driver Date: Fri, 18 Nov 2016 13:22:26 +0800 Message-Id: <1479446550-28677-3-git-send-email-jui.nee.tan@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479446550-28677-1-git-send-email-jui.nee.tan@intel.com> References: <1479446550-28677-1-git-send-email-jui.nee.tan@intel.com> Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch follows the example of mfd/wm831x to rename the driver from "lpc_ich" to "lpc_ich_core". Signed-off-by: Tan Jui Nee Reviewed-by: Mika Westerberg --- Changes in V11: - No change Changes in V10: - No change Changes in V9: - Remove the filename from the header of lpc_ich_core.c (suggested by Lee). Changes in V8: - Update new file name with lpc_ich_core.c at description of source file. - Rework Makefile with new source file name lpc_ich_apl.c. Changes in V7: - No change Changes in V6: - none, just a subject line and commit message change. drivers/mfd/Makefile | 1 + drivers/mfd/{lpc_ich.c => lpc_ich_core.c} | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) rename drivers/mfd/{lpc_ich.c => lpc_ich_core.c} (99%) diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 9834e66..06a91ea 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile @@ -159,6 +159,7 @@ obj-$(CONFIG_PMIC_ADP5520) += adp5520.o obj-$(CONFIG_MFD_KEMPLD) += kempld-core.o obj-$(CONFIG_MFD_INTEL_QUARK_I2C_GPIO) += intel_quark_i2c_gpio.o obj-$(CONFIG_LPC_SCH) += lpc_sch.o +lpc_ich-objs := lpc_ich_core.o obj-$(CONFIG_LPC_ICH) += lpc_ich.o obj-$(CONFIG_MFD_RDC321X) += rdc321x-southbridge.o obj-$(CONFIG_MFD_JANZ_CMODIO) += janz-cmodio.o diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich_core.c similarity index 99% rename from drivers/mfd/lpc_ich.c rename to drivers/mfd/lpc_ich_core.c index c8dee47..7cbe037 100644 --- a/drivers/mfd/lpc_ich.c +++ b/drivers/mfd/lpc_ich_core.c @@ -1,6 +1,4 @@ /* - * lpc_ich.c - LPC interface for Intel ICH - * * LPC bridge function of the Intel ICH contains many other * functional units, such as Interrupt controllers, Timers, * Power Management, System Management, GPIO, RTC, and LPC