Received: by 10.192.165.148 with SMTP id m20csp4040882imm; Tue, 8 May 2018 01:44:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoV7n5srWWckIucFI4H1A9QaLgpCHSA95g/EVUOPSPN7g6yZQqdG3ytJ00zAAeIderRjCx2 X-Received: by 2002:a63:7e09:: with SMTP id z9-v6mr32563391pgc.437.1525769087451; Tue, 08 May 2018 01:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525769087; cv=none; d=google.com; s=arc-20160816; b=uyXM0APqJVcpNCTuVWprN6B7NPfCd7tBUFF1WBw0WiiBnrGYypoQMVumOfypIZSOIM aU72sjxYHuBRZixAJnY3GEqoeIpnHfQ83brSuCxNPI4m35YpsUFQE23nnX2cUJlzv+Fp cYFwDJkz9e2I2I/jhsik+RxeJMebhRytnmbFt6B/Mmh34l72HJZFG9i8eZVI7s/MNk+2 dw2gl2OGpNQS9ykgffuLHXNsLtBN9pUH3drRd9nKW7ctn/qmpy53eo9F0GVh+HsdiAbj KiViUx7v1iYX/8WjhvHWalbYcejY8NSw2Ubvk/QOvHrTTiVd15IXS5HI2p1wveTRLPCY DNrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=viRvbbG+ocEo+K7pxwl3+LX/cFrdk1Uf3hBmPxTRr5o=; b=uNPzTtoKwKelbwwE/LdNJubVcRIbJ6e1iSzue+JKSVI7tBihY67wux+AxhQJQP4NiG d93stTB8h4DQnOnVO6+6NmcXKwDUi7o/TWzqHU8LZsQqXstx6w00PIVdm2pnpyST3mGZ ukz3+Gp5/Xv5nxfl8q9saFKxtS2V4sEU6VHI8JKNgy5hbmOFppQydUtSJKW5m4UO6nc6 vHp5bSzZ+njah0rcnzmkUaNsyRHtsRsrOVFJeuGzPz/SEGKiBMePGnnDKok0W2vpgyAY 55mzSNP8h0z4JBL4RAeDAM3oV6DNtWtLMMgpBX2jAFBLUTnzyVKvTlcRq6trSGtaoojj 51Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E1SwopJy; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1-v6si22857104pld.152.2018.05.08.01.44.32; Tue, 08 May 2018 01:44:47 -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=@linaro.org header.s=google header.b=E1SwopJy; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933351AbeEHInW (ORCPT + 99 others); Tue, 8 May 2018 04:43:22 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:37414 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932552AbeEHInR (ORCPT ); Tue, 8 May 2018 04:43:17 -0400 Received: by mail-wr0-f196.google.com with SMTP id h5-v6so7465025wrm.4 for ; Tue, 08 May 2018 01:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=viRvbbG+ocEo+K7pxwl3+LX/cFrdk1Uf3hBmPxTRr5o=; b=E1SwopJykzvACNL7N/8ZMeXY1Ly8DFer5JnYOvtw7s7QnrQPYo14edgBw7V3groy3S Tk2KHQbu7/eddRL8fDTT2ZXdjlUB6rGlJEc9c4L38bvrpY2eUD8U8DRn/b9+gvBRGKr3 oV7GS9SGzqMVMbwBMkMfhvDudFkayACjhWBz8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=viRvbbG+ocEo+K7pxwl3+LX/cFrdk1Uf3hBmPxTRr5o=; b=UgSEQ9y73NwYAE34oRbVClnTQu6//hYCV2Kw5eqVCGqzMu5kbiAcUxR+AOt2qSsZY1 GMg6HFazdsXXF1jVF3IlB83KC5gNIcNjVJESBBdMnpqVDYwhq3kbO7g7SW/A8h/nUFge kts1NIFZ42YT9C8JO2wtWU70rxY/Aqm1CcyrjzIxjxaXia5aMsOncbQvT4PVDHAyIF+O 4/pdQGNXceMq88aXiK1k+AWbg7PXL0yJdy8nKUJD9sk7Ffw9h1D0Gd0okRxVIyCZ5oYq CfG0Tkt4rY1YthW8hOYQVNFscx4e22NMCxLlVnsSHN8nchjUh8C1EbM/HGaQs8pi0E1e e+Ig== X-Gm-Message-State: ALQs6tBP/jDCCNQefGVx0IoSFoH8Oh+ghMDGnOFfWEQsLH23Vv8wCRBz OIXxoarrhPfqbBO+W+qqrWbogg== X-Received: by 2002:adf:8f25:: with SMTP id p34-v6mr30968329wrb.193.1525768996007; Tue, 08 May 2018 01:43:16 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id v15-v6sm7824797wmf.47.2018.05.08.01.43.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 May 2018 01:43:15 -0700 (PDT) Date: Tue, 8 May 2018 09:43:13 +0100 From: Daniel Thompson To: Kiran Gunda Cc: bjorn.andersson@linaro.org, Lee Jones , Jingoo Han , Jacek Anaszewski , Pavel Machek , Rob Herring , Mark Rutland , Bartlomiej Zolnierkiewicz , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH V2 1/5] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c Message-ID: <20180508084313.fzkpnr4hr7iy52oh@holly.lan> References: <1525342352-25072-1-git-send-email-kgunda@codeaurora.org> <1525342352-25072-2-git-send-email-kgunda@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1525342352-25072-2-git-send-email-kgunda@codeaurora.org> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 03, 2018 at 03:42:28PM +0530, 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 > --- > .../bindings/leds/backlight/{pm8941-wled.txt => qcom-wled.txt} | 2 +- > drivers/video/backlight/Kconfig | 8 ++++---- > drivers/video/backlight/Makefile | 2 +- > drivers/video/backlight/{pm8941-wled.c => qcom-wled.c} | 0 For me this hovers extremely close to being a gratuitous renaming especially with no effort to bridge the gap between old and new names. On the other hand, no current defconfig enables BACKLIGHT_PM8941_WLED, it is configured by DT (so modules.conf tricks are unlikely) and any distros that already have it enables are likely to be aggressive in enabling drivers (so will probably turn on BACKLIGHT_QCOM_WLED as soon as it appears). On that basis I can live with this... but will also listen for any complaints! Daniel. > 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 4e1d2ad..8c095e3 100644 > --- a/drivers/video/backlight/Kconfig > +++ b/drivers/video/backlight/Kconfig > @@ -299,12 +299,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 5e28f01..6fd76ef 100644 > --- a/drivers/video/backlight/Makefile > +++ b/drivers/video/backlight/Makefile > @@ -49,8 +49,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 > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >