From patchwork Wed Jun 5 08:34:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 2669681 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 9B14B40077 for ; Wed, 5 Jun 2013 12:48:53 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk9Rl-0006Tp-0M; Wed, 05 Jun 2013 08:52:03 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk9JN-0003G8-4J; Wed, 05 Jun 2013 08:43:17 +0000 Received: from smtp8.mail.ru ([94.100.176.53]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk9BZ-0002CJ-G5 for linux-arm-kernel@lists.infradead.org; Wed, 05 Jun 2013 08:35:17 +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=4b/yyyuhIxInJRFtCctUqqvqZmRVYh25xsz3YGU26zE=; b=sukKw47OrbxtMpdCgu8mDN+oClK2mbenfGlRiIPkqvZeID4kfg89/eD0yIh+WymMfEX2yGU4QW6fcwF7yegUTPC/XC79mFeENjrcRFf75ACOe9wQ6u9yoM9WQEsu6F36ctdFpAOjB14SRqfL9+Z6Q5llBUKS5ncfpYTjYWO9jRc=; Received: from [188.134.40.128] (port=26760 helo=shc.zet) by smtp8.mail.ru with esmtpa (envelope-from ) id 1Uk9BD-0000y8-Jg; Wed, 05 Jun 2013 12:34:51 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] leds: leds-mc13783: Rename unit to indicate various MC13xxx chips support Date: Wed, 5 Jun 2013 12:34:38 +0400 Message-Id: <1370421279-23348-4-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1370421279-23348-1-git-send-email-shc_work@mail.ru> References: <1370421279-23348-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-20130605_043514_298622_349903F1 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [94.100.176.53 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 Cc: Russell King , Alexander Shiyan , Arnd Bergmann , Bryan Wu , Richard Purdie , Sascha Hauer , Olof Johansson , Shawn Guo , 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} | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename drivers/leds/{leds-mc13783.c => leds-mc13xxx.c} (100%) diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13xxx.c similarity index 100% rename from drivers/leds/leds-mc13783.c rename to drivers/leds/leds-mc13xxx.c 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