Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8432529ybn; Tue, 1 Oct 2019 08:03:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyueM5+JWXLyJHnFeQIA8rtmrSawD8ZRIRaKs19xV9ALOV0h0Y6QeEYL3geeGRbfoMbpeN X-Received: by 2002:a05:6000:b:: with SMTP id h11mr18239279wrx.270.1569942234510; Tue, 01 Oct 2019 08:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569942234; cv=none; d=google.com; s=arc-20160816; b=uPie+RJA34O0FmCvQWOg7skMuJyW2XykLB2Quxn/2rWE4AD5cVVxBAVE+iqTqTrV4g u6pG4c8DqLJktnrKOhpmS+k06VB8ESDWYb3A9n9pyBsNAsBH4SzMDrkeQGEw9ALchmX3 qqXItO5NnIN9v9ZKJn1YFsBNhB5DsNRm9QinVkhoyrvx8f1+NsrGyENXuPmOEi9j5yd6 wVvre7G9LE9mo4VOkrVX3DXB9CuOICUsInkevXqT03NSuDRDvzIiJfo4SX9GFYhEvXbt 4TQ+5d10CkkFQ/By4MS1Q15o7IrWLYmzGnfiBp7KD1QBM/+/MFkcxyVgSM37FWiKzCUR IwKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=FtGKw7kQQovEcABguQcARfmvU81jXg7GbjUfgsdw1Q4=; b=pBWPj369nHlMA5HApY4o1WP8sKh1XN8XCSUZdhZgSmZ6QCvWdJMNrcgWlSdGTJha6y wTbmAgoRiXAxz44lINVwJsjzy6PNfk7JaCgnwFp3s0UFp8px/eK66kM5TUQoyReXJIkD 37HTlMj47SGcJvg7v+AZUc7mXHqNiZbW7FMjneO7bM9sFbv5FZ4wLXQhg5iaM178ZTQi KQ8eiAtQWaSGkpPjNerWpyUvHHtrsXeOZWOatXl/76Zg4LS6oG8VNxoLGPyRzKMMSSw/ apntGrUJ8a3DVzUEa+5VJjHvr7HNz1igfHFsp7U0YdS2XIL26XuBkK4jK3hzPgPPG1zR fxLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=f8M2abPJ; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si10071120ede.196.2019.10.01.08.03.21; Tue, 01 Oct 2019 08:03:54 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=f8M2abPJ; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389354AbfJAPDN (ORCPT + 99 others); Tue, 1 Oct 2019 11:03:13 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:43366 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726987AbfJAPDN (ORCPT ); Tue, 1 Oct 2019 11:03:13 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x91F2tBo017997; Tue, 1 Oct 2019 10:02:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569942175; bh=FtGKw7kQQovEcABguQcARfmvU81jXg7GbjUfgsdw1Q4=; h=Subject:To:References:From:Date:In-Reply-To; b=f8M2abPJ5E2aPEAh8yZeVPhhazCotY06RboI3cv1WILlrmTEBfP4Mg331gud3ggIu sKf/jLzbNpsnvvV1kbHR6GzbhnKOS5pX83i9/nQjXYx65/DW9J7ndM17sktKdcG5k5 lwn04f+tpDpmFR/k7cCrgSRN2vfToIiYb5dftpKo= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x91F2tJE014138 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Oct 2019 10:02:55 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 1 Oct 2019 10:02:55 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 1 Oct 2019 10:02:45 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x91F2swW029639; Tue, 1 Oct 2019 10:02:55 -0500 Subject: Re: [PATCH V6 1/8] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c To: Kiran Gunda , , , , , , , , , , , , , , Andy Gross , , References: <1569825553-26039-1-git-send-email-kgunda@codeaurora.org> <1569825553-26039-2-git-send-email-kgunda@codeaurora.org> From: Dan Murphy Message-ID: <3cbc14db-9d6d-f60f-eb92-4b4d80d3774d@ti.com> Date: Tue, 1 Oct 2019 10:03:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1569825553-26039-2-git-send-email-kgunda@codeaurora.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kiran On 9/30/19 1:39 AM, Kiran Gunda wrote: > pm8941-wled.c driver is supporting the WLED peripheral > on pm8941. Rename it to qcom-wled.c so that it can support > WLED on multiple PMICs. > > Signed-off-by: Kiran Gunda > Reviewed-by: Bjorn Andersson > Acked-by: Rob Herring > Acked-by: Daniel Thompson > Acked-by: Pavel Machek > --- > .../bindings/leds/backlight/{pm8941-wled.txt => qcom-wled.txt} | 2 +- Instead of renaming this file would it be more maintainable to indicate in the pm8941-wled.txt to reference the qcom-wled.txt file for complete description? I will let Rob comment on maintainability. Dan > drivers/video/backlight/Kconfig | 8 ++++---- > drivers/video/backlight/Makefile | 2 +- > drivers/video/backlight/{pm8941-wled.c => qcom-wled.c} | 0 > 4 files changed, 6 insertions(+), 6 deletions(-) > rename Documentation/devicetree/bindings/leds/backlight/{pm8941-wled.txt => qcom-wled.txt} (95%) > rename drivers/video/backlight/{pm8941-wled.c => qcom-wled.c} (100%) > > diff --git a/Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt > similarity index 95% > rename from Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt > rename to Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt > index e5b294d..fb39e32 100644 > --- a/Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt > +++ b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt > @@ -1,4 +1,4 @@ > -Binding for Qualcomm PM8941 WLED driver > +Binding for Qualcomm Technologies, Inc. WLED driver > > Required properties: > - compatible: should be "qcom,pm8941-wled" > diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig > index 8b081d6..6ff3176 100644 > --- a/drivers/video/backlight/Kconfig > +++ b/drivers/video/backlight/Kconfig > @@ -284,12 +284,12 @@ config BACKLIGHT_TOSA > If you have an Sharp SL-6000 Zaurus say Y to enable a driver > for its backlight > > -config BACKLIGHT_PM8941_WLED > - tristate "Qualcomm PM8941 WLED Driver" > +config BACKLIGHT_QCOM_WLED > + tristate "Qualcomm PMIC WLED Driver" > select REGMAP > help > - If you have the Qualcomm PM8941, say Y to enable a driver for the > - WLED block. > + If you have the Qualcomm PMIC, say Y to enable a driver for the > + WLED block. Currently it supports PM8941 and PMI8998. > > config BACKLIGHT_SAHARA > tristate "Tabletkiosk Sahara Touch-iT Backlight Driver" > diff --git a/drivers/video/backlight/Makefile b/drivers/video/backlight/Makefile > index 63c507c..6f87770 100644 > --- a/drivers/video/backlight/Makefile > +++ b/drivers/video/backlight/Makefile > @@ -48,8 +48,8 @@ obj-$(CONFIG_BACKLIGHT_OMAP1) += omap1_bl.o > obj-$(CONFIG_BACKLIGHT_OT200) += ot200_bl.o > obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o > obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o > -obj-$(CONFIG_BACKLIGHT_PM8941_WLED) += pm8941-wled.o > obj-$(CONFIG_BACKLIGHT_PWM) += pwm_bl.o > +obj-$(CONFIG_BACKLIGHT_QCOM_WLED) += qcom-wled.o > obj-$(CONFIG_BACKLIGHT_SAHARA) += kb3886_bl.o > obj-$(CONFIG_BACKLIGHT_SKY81452) += sky81452-backlight.o > obj-$(CONFIG_BACKLIGHT_TOSA) += tosa_bl.o > diff --git a/drivers/video/backlight/pm8941-wled.c b/drivers/video/backlight/qcom-wled.c > similarity index 100% > rename from drivers/video/backlight/pm8941-wled.c > rename to drivers/video/backlight/qcom-wled.c