Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp538089ybe; Mon, 2 Sep 2019 05:41:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPqJDw9U3X/kopICbptZiriZIPGIsKuXLp2no0MvresfEG4gXiQGcidTTWfvenb4zd/oID X-Received: by 2002:a17:902:d907:: with SMTP id c7mr20223226plz.126.1567428094164; Mon, 02 Sep 2019 05:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567428094; cv=none; d=google.com; s=arc-20160816; b=tTLNS0ElBTnTzKpyiKVogvE78rqSeYjHWubHkFMBWA/uN7sxv9q8dJa/riiJTtNCss pYNjT03gYEn0GK7xgsvQhMM9RtrpKmRlF0RDcUZL/7NBF2IV752VRfzFMbQi3smK3adm YTk5HO1HNUYDVm1rU7E2msIuIXC15t9e1TmcQVAPZMXFNiD1XR6oQQ3BSrpryJtM/cX+ GaQjFXpT1WnV4vr4UHP9pF2NttQrKGOXKbcCPwJYL5an0kVkJqJyf1GZCEE65eTzKwmW 3RRLQhSydZKeRVgthvOdvxGhNcKDwjP7rdPhCKh8vmc2qcgjPP00S8oPZ4JQzUft3QNY aa0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vnhw4cu5Y19Ngs/FcBn3AtSwpWd+bzaeBt1B8o4ltr0=; b=bpPaXYs7WVgDtegibQWrxKuyoF3fTXlpPAgQXAAvepbOnFCkqvfFoSqpwN2NtPfgMK bi6lyiw+RpnGxmRJe3qmoZU8XFTI8YjF3U8S3gKSg0P3H1PwvWN0H+B8O1ab4WLm+XzY bBDo6hgKFOg846na27tmDseZre+9c6kNvkl9gwnRbvxjZH5QgtPiXOmz7ZEsvx0iKawZ OMjWYZO9vlyz1+wwr4JcZB8FpvxjKTWUPJQgRBgeRFe1FLlYg4sPEIEHiCY7XtnmmqtU 8ftku/l7YOXGS2gv/8AV0WHAoRUqZo11wkFMOGNCyN9qZEqQ8/aWyWYO3kY6NXcchWF0 CjPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=qpXZrNFO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b14si11428373pgi.587.2019.09.02.05.41.18; Mon, 02 Sep 2019 05:41:34 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=qpXZrNFO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731092AbfIBMfm (ORCPT + 99 others); Mon, 2 Sep 2019 08:35:42 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:36916 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730106AbfIBMfl (ORCPT ); Mon, 2 Sep 2019 08:35:41 -0400 Received: by mail-io1-f66.google.com with SMTP id r4so13643787iop.4 for ; Mon, 02 Sep 2019 05:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vnhw4cu5Y19Ngs/FcBn3AtSwpWd+bzaeBt1B8o4ltr0=; b=qpXZrNFOf8FMkMWjsohOjNNDkWvo69WRgme+57+rTRmXKIOiO1IiNxMMiGWCQSg94p uKQg1D4YEnLemazeoGnZOS6K926UhvmB4PXev0a0SIEKpuA04Frl8bbWXiPZzrc0iZpU S4kbzpImRnUHETvZHhfHwZEPB8D8zYmyebN2Ht/yydHW+1WdeXyGygmDjzQ4P1yCV0xv jIVdjwpC34AgTkw54p5aFkpzLRm0cjkZ050coecWNregtgHKkGE2lkr6argOPvK6AB4v RXkbdicD7E7yBQJ/cJLAX1RMugFIrBYYajEWSQxVQ+BhXGyVq7OdZkN609bfjzKec+6e 6ehQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vnhw4cu5Y19Ngs/FcBn3AtSwpWd+bzaeBt1B8o4ltr0=; b=eh2AtixIlJbf5F754cFYF+xFDa66605izSNtrj/GHZZduV6h+HVYncGi0/T3WPwym+ 90MkPWTIaeo7rE3sE9THdoWFW72IL/EJeadN7KvzACVr390PYuipZq8vyAARKceX979E 5YaFlqBBFtJfmwlKS6B0S9NX+NqnqMHSm/0LG8xmb7B0jvHxBJ7hIjlRlucHS8mAnf8f rJGI8alzKztZm7WLwFUVhc9ZOrJ9Fdjh3ju3QydRQfigszPrUJ7hUJIAsBd58Hl+AmYq c93NKbBTHDH4k6T5a+9UqAQGddz3e/DZtSFnuDHJfuWkoTOJido6ScRF9NY/kDxWVb1m QJBg== X-Gm-Message-State: APjAAAURfXvTNmOibRGdLj2uRV9pbnkKV+NdLHWCWZ6lE7jJVRTpewzz BQz8gK4hlpKNgAZHb44AEmd+x0i8KBnKalKkz5nh3A== X-Received: by 2002:a5d:870b:: with SMTP id u11mr29928734iom.220.1567427741022; Mon, 02 Sep 2019 05:35:41 -0700 (PDT) MIME-Version: 1.0 References: <20190724082508.27617-1-brgl@bgdev.pl> <20190902093137.GI32232@dell> In-Reply-To: <20190902093137.GI32232@dell> From: Bartosz Golaszewski Date: Mon, 2 Sep 2019 14:35:30 +0200 Message-ID: Subject: Re: [PATCH v3 0/7] backlight: gpio: simplify the driver To: Lee Jones Cc: Yoshinori Sato , Rich Felker , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , Linus Walleij , Andy Shevchenko , linux-sh@vger.kernel.org, Linux Kernel Mailing List , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pon., 2 wrz 2019 o 11:31 Lee Jones napisa=C5=82(a): > > On Wed, 24 Jul 2019, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > While working on my other series related to gpio-backlight[1] I noticed > > that we could simplify the driver if we made the only user of platform > > data use GPIO lookups and device properties. This series tries to do > > that. > > > > The first patch adds all necessary data structures to ecovec24. Patch > > 2/7 unifies much of the code for both pdata and non-pdata cases. Patche= s > > 3-4/7 remove unused platform data fields. Last three patches contain > > additional improvements for the GPIO backlight driver while we're alrea= dy > > modifying it. > > > > I don't have access to this HW but hopefully this works. Only compile > > tested. > > > > [1] https://lkml.org/lkml/2019/6/25/900 > > > > v1 -> v2: > > - rebased on top of v5.3-rc1 and adjusted to the recent changes from An= dy > > - added additional two patches with minor improvements > > > > v2 -> v3: > > - in patch 7/7: used initializers to set values for pdata and dev local= vars > > > > Bartosz Golaszewski (7): > > sh: ecovec24: add additional properties to the backlight device > > backlight: gpio: simplify the platform data handling > > sh: ecovec24: don't set unused fields in platform data > > backlight: gpio: remove unused fields from platform data > > backlight: gpio: remove dev from struct gpio_backlight > > backlight: gpio: remove def_value from struct gpio_backlight > > backlight: gpio: use a helper variable for &pdev->dev > > > > arch/sh/boards/mach-ecovec24/setup.c | 33 ++++++-- > > drivers/video/backlight/gpio_backlight.c | 82 +++++--------------- > > include/linux/platform_data/gpio_backlight.h | 3 - > > 3 files changed, 44 insertions(+), 74 deletions(-) > > Can you collect all your Acks and re-submit please? > Done. Bart > -- > Lee Jones [=E6=9D=8E=E7=90=BC=E6=96=AF] > Linaro Services Technical Lead > Linaro.org =E2=94=82 Open source software for ARM SoCs > Follow Linaro: Facebook | Twitter | Blog