From patchwork Mon Jun 3 15:38:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 2653591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 534973FC23 for ; Mon, 3 Jun 2013 16:01:15 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UjWtb-0006uv-28; Mon, 03 Jun 2013 15:42:15 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UjWqz-0003bG-3m; Mon, 03 Jun 2013 15:39:25 +0000 Received: from smtp2.mail.ru ([94.100.176.130]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UjWqu-0003ZO-8k for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2013 15:39:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=h5nf5743uY5w9dpMS2Q6HkK5mlsZQ72kZmuJnK75zA0=; b=gnqbNUPgS6+CTWxHBoiukt+YlTSHc30gjLD0BweuVaUu1DKWY4eDkeHnolwjEvVEFc9IXhA9kMlGgbb/SRpRzZaO5SLnNJmGPQclZ1Jd7xhyQQxgpMUI+FS03PS4ftCI0DmPblD9k1ZTdFtKjOt5N3ppzpXpikRHxzfJnVz8Wiw=; Received: from [188.134.40.128] (port=21661 helo=shc.zet) by smtp2.mail.ru with esmtpa (envelope-from ) id 1UjWqY-0005gS-I6; Mon, 03 Jun 2013 19:38:58 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] leds: leds-mc13783: Rename unit to indicate various MC13xxx chips support Date: Mon, 3 Jun 2013 19:38:36 +0400 Message-Id: <1370273916-29852-3-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1370273916-29852-1-git-send-email-shc_work@mail.ru> References: <1370273916-29852-1-git-send-email-shc_work@mail.ru> X-Spam: Not detected X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130603_113920_886086_2CD1DCBF X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [94.100.176.130 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (shc_work[at]mail.ru) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 2.2 TO_NO_BRKTS_PCNT To: misformatted + percentage Cc: Russell King , Alexander Shiyan , Bryan Wu , Richard Purdie , Sascha Hauer , linux-leds@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Signed-off-by: Alexander Shiyan --- arch/arm/configs/imx_v4_v5_defconfig | 2 +- drivers/leds/Kconfig | 8 ++++---- drivers/leds/Makefile | 2 +- drivers/leds/{leds-mc13783.c => leds-mc13xxx.c} | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename drivers/leds/{leds-mc13783.c => leds-mc13xxx.c} (99%) diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig index f07a847..7fd9f9b 100644 --- a/arch/arm/configs/imx_v4_v5_defconfig +++ b/arch/arm/configs/imx_v4_v5_defconfig @@ -166,7 +166,7 @@ CONFIG_MMC_MXC=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y -CONFIG_LEDS_MC13783=y +CONFIG_LEDS_MC13XXX=y CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_TIMER=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index ef99229..c9a4eb2 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -387,13 +387,13 @@ config LEDS_DELL_NETBOOKS This adds support for the Latitude 2100 and similar notebooks that have an external LED. -config LEDS_MC13783 - tristate "LED Support for MC13783 PMIC" +config LEDS_MC13XXX + tristate "LED Support for MC13XXX PMIC" depends on LEDS_CLASS - depends on MFD_MC13783 + depends on MFD_MC13XXX help This option enable support for on-chip LED drivers found - on Freescale Semiconductor MC13783 PMIC. + on Freescale Semiconductor MC13783/MC13892 PMIC. config LEDS_NS2 tristate "LED support for Network Space v2 GPIO LEDs" diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile index ac28977..70329f7 100644 --- a/drivers/leds/Makefile +++ b/drivers/leds/Makefile @@ -45,7 +45,7 @@ obj-$(CONFIG_LEDS_INTEL_SS4200) += leds-ss4200.o obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o -obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o +obj-$(CONFIG_LEDS_MC13XXX) += leds-mc13xxx.o obj-$(CONFIG_LEDS_NS2) += leds-ns2.o obj-$(CONFIG_LEDS_NETXBIG) += leds-netxbig.o obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13xxx.c similarity index 99% rename from drivers/leds/leds-mc13783.c rename to drivers/leds/leds-mc13xxx.c index f4e50cc..b8a4c2f 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13xxx.c @@ -541,6 +541,6 @@ static struct platform_driver mc13xxx_led_driver = { }; module_platform_driver(mc13xxx_led_driver); -MODULE_DESCRIPTION("LEDs driver for Freescale MC13783 PMIC"); +MODULE_DESCRIPTION("LEDs driver for Freescale MC13XXX PMIC"); MODULE_AUTHOR("Philippe Retornaz "); MODULE_LICENSE("GPL");