Received: by 10.213.65.68 with SMTP id h4csp316965imn; Fri, 16 Mar 2018 04:13:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELvS3pOZeMJvHcu9ZvMQhCJAe1wZsFT8qG34woinl/37/zKLdSEq/pPyjtDqrvVZAiEWTO9P X-Received: by 2002:a17:902:7c94:: with SMTP id y20-v6mr1710438pll.314.1521198788936; Fri, 16 Mar 2018 04:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521198788; cv=none; d=google.com; s=arc-20160816; b=Lvi5qBt9omURAN71hBfNOL9mUcRrqt/VFQUJ1DZNHJHGHoNwzjrkQ2N2o+VhoYndEh t8TH2vk2fUgWpq/AirLJadtkBogU1aGQvTDLBKqmtoFNyjB20RaSgnFrcJM7fdoLyUMa aOXtJgIToKvQRlf9laTGClL4g/mgAAiUdB0ZXt1ZyDrFigjI+rLsnbbwO0hQ/wvNEfOn yTvLEIZTUmdUgyw+JSuoGNsZ5qCgLB5YGSz5q9mkrSGXfZwyQMb0XIzrZ/BPmuEI4t2p YO0pY4V7lMNdadtqAMGjVswb4KtX0PwsZRoxHKlnoXoDxyX/2/47U1xsqdWtmYafE5bp z8fQ== 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=HbshpjeBFmMdIRphT+wir46+Idu2hCF10UrXnkKKF1E=; b=eZHLfmirn/YsS/5jcEogvABgqTN9H0LXRhIZEzeCrcE2ltpiDHNEgdpkrGIGL+fzBw dqpQE27SdmaGP2myeQrqH7Ylbya/xMaQlfNLQbNph1XAt9O/nxJ/1q89SCZ/qDXw++O/ 1rgST1Z10boIGSLfJzejkI5XEfVe6bB2os2cDDDuqTRYznw+obPRE24Osh5iLTcubBC1 KNS7wjXalv25VvZs0LM3dtZynTJouFtAXryqKMl1aiLRAVpG+wn6Vh0ejj21zs7MJdSm aXfaFhUNbtLoYZjHcnDCJZgxnbvtJR8Tc0ON6OOj8YTj/4DeZ3oM1CdMez9tqaOnOp+Q BB0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W24On7F0; 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 1-v6si6023172plz.360.2018.03.16.04.12.52; Fri, 16 Mar 2018 04:13:08 -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=W24On7F0; 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 S1753562AbeCPLLr (ORCPT + 99 others); Fri, 16 Mar 2018 07:11:47 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:42736 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753002AbeCPLLp (ORCPT ); Fri, 16 Mar 2018 07:11:45 -0400 Received: by mail-wr0-f196.google.com with SMTP id s18so11251359wrg.9 for ; Fri, 16 Mar 2018 04:11:44 -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=HbshpjeBFmMdIRphT+wir46+Idu2hCF10UrXnkKKF1E=; b=W24On7F0gos8GN71MKq4gILop2TW1YiF0lXi6bI0G2+rdY1+bKloN9FdpzrpdEoTft ZMwaB6dFfLO+hV620zwDSxhGoz6JgkFg5KUlTjjfGQr8icnoiEzz+wpxF03FEzPlqM9f rEcuMvneWx+N8E1keWfgk1ZQu807ImlbUKBb0= 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=HbshpjeBFmMdIRphT+wir46+Idu2hCF10UrXnkKKF1E=; b=nLLGYSMvXM2GnvRY+3TYMkpHtMJ3GeZClq1+dFbDw4ZsyS6vtNnJsFEdzad6RKnBjp +NaRtaXVSAl7t0FEG1lU2eFa7AK+9GBG6dpED2ycvw9opca3VfIvWtyMUljEvH3/+tos ENaRpiV1rSYZjpqU0yr9w1Rx1nRyPLfsY7OHSbRZ2t3A7hYONyRhoKxcXvnpYir/viI+ 8FVcT6FBpEtKH4iVg7Gdtx7OC37sbEiuSmEyqzR3Dke6cUiZySkS/WsXDEWbO21MK1lo xr5R4hO+rW4xPH/Xkr33akIW0QiV5d5yi4zjIOXYQM7X/Q8PjY+0nmeUZzptlTfJ1WOG W4uQ== X-Gm-Message-State: AElRT7GVjFXDZARQcIN2vNspAsb6zxuflCJT04LLiWcRpaBlIn3euaTN lwRrjnas2H6lN7GfoZfvl1enFw== X-Received: by 10.223.170.213 with SMTP id i21mr1349006wrc.10.1521198704040; Fri, 16 Mar 2018 04:11:44 -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 r19sm7047634wmd.48.2018.03.16.04.11.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Mar 2018 04:11:42 -0700 (PDT) Date: Fri, 16 Mar 2018 11:11:40 +0000 From: Daniel Thompson To: Dmitry Torokhov Cc: Laurent Pinchart , Lee Jones , Jingoo Han , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, Yoshinori Sato , Rich Felker , Linus Walleij Subject: Re: [RFC 0/4] gpio-backlight: remove platform data support Message-ID: <20180316111140.ez6lmyx4ntf2nbxz@holly.lan> References: <20180315224202.96668-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180315224202.96668-1-dmitry.torokhov@gmail.com> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 15, 2018 at 03:41:58PM -0700, Dmitry Torokhov wrote: > Hi, > > This series attempts to remove platform data support from gpio_blackllist > driver and switch it over to generic device properties/GPIO tables. > The only user of platform data was SuperH Ecovec24 board; please take a > look at patch #2 that tries to only register backlight when the board is > using LDC and not DVI. Can't comment on patch #2 but, from the backlight side of things I have no objections. Daniel. > > Please note that I do not have the hardware (do we even care about > ecovec24? I'd like to rip out platform data support from tsc2007 as > well, but ecovec24 is using custom pendown handler and GPIOs have > to be switched off from interrupt mode to GPIO and back in that > pendown handler, which is all quite messy. If we do not care about > this board I'd much rather removed that custom pendown). > > Thanks! > > Dmitry Torokhov (4): > backlight: gpio_backlight: use generic device properties > sh: ecovec24: conditionally register backlight device > sh: ecovec24: convert backlight to use device properties > backlight: gpio_backlight: remove platform data support > > arch/sh/boards/mach-ecovec24/setup.c | 47 ++++++---- > drivers/video/backlight/gpio_backlight.c | 93 +++----------------- > include/linux/platform_data/gpio_backlight.h | 20 ----- > 3 files changed, 46 insertions(+), 114 deletions(-) > delete mode 100644 include/linux/platform_data/gpio_backlight.h > > -- > Dmitry >