Received: by 10.223.176.46 with SMTP id f43csp2213794wra; Thu, 25 Jan 2018 06:39:27 -0800 (PST) X-Google-Smtp-Source: AH8x227YcSXIXmOAVSHg3XHEtzRf+akTvgPHVOm3xAr5P5K+Dqws0imH255sYrXWtFgQB5zpLtG/ X-Received: by 2002:a17:902:52c3:: with SMTP id a61-v6mr11152649pli.335.1516891167706; Thu, 25 Jan 2018 06:39:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516891167; cv=none; d=google.com; s=arc-20160816; b=HbAQltByZpXy+dPLATZzKB7Rioywja5p1uVemQZErmReZetivYSyTOCo9lUBclZcQS hlpk7mRVfD2A9QeI+zSZ720tPte6urpfomCZwlj2wf3CAUeYrm8U7n9qzivEP+TDy1La 8ICfgHrJfLjruoTm2gW1mp2UFtgarhmtoWJUptj+8DO/hgHuG2P9URumcdLrSh3qOJrZ Bf4gn8/Kq8mLgM5yHlG5Us9FYOvL9l5moZUwn3H+kroCBmo1iP2G4qI8qEm8Jo72XqEd JQCrCgRqIjwOgNZowynzvGGvHOgdQOKbVHDvp08JVzUqXiSdaqaaQuZw6gyCaFN2YlIc LzCA== 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=24v451npDhIG8JNOyJ5gc9i3nmbUL6JdsKWxgHP9//s=; b=eD+vs7f0MgTXwIAF5BvFP6CNJsoDamV8xR9RlgodXQiyLhEU/VKiEzqQTY/n5zOiRG GUDUD1pvG8U9j9zeSpOKtfdliz/NWPV+hI6JDZLHH8P/Z1kFUgImr5/3sN19XybhJ+8p 6rwEAFhE+Y/CDGpQrtK6ksjgfqXhYt9IwHVQ7NJrK2POmWmXu67w7wV6BoLRg66AP+ti OlvXIcQlvXKl8zA/FzzuQnS8c3Gjiz15/uapFrgyzcwpjbUffLdjoCA3XQ5oYyXrRJOe Vc0Fjs4l4MRiVFYZToZjwwio1pMhfr697mqiNTNPWoIv2Qvx/XvJ1ttU6+WAL6TB3Qv4 I+IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TCdRkFhU; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si1643951pgs.580.2018.01.25.06.39.13; Thu, 25 Jan 2018 06:39:27 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=TCdRkFhU; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751566AbeAYORl (ORCPT + 99 others); Thu, 25 Jan 2018 09:17:41 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:40102 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751436AbeAYORj (ORCPT ); Thu, 25 Jan 2018 09:17:39 -0500 Received: by mail-qt0-f194.google.com with SMTP id s39so19479271qth.7 for ; Thu, 25 Jan 2018 06:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=24v451npDhIG8JNOyJ5gc9i3nmbUL6JdsKWxgHP9//s=; b=TCdRkFhUvVwcAP8rLHNyAHNBJMYBFOPe7QbvpxztECmKVhJTwc/hNrLSQPwdpjNdkV XulItgXKN02V7AdmWL2OKM1kxF4I2941yLXxa1Q3Es6LL0405ZW1Mdn70yCarIqfnDkM Kr2/8M4gUdZUs8bgMkUCFCIvaF/1VTSkvEARvov330ppDYpOKrD0eYdNZ3h49LVqi6cF qegccLyx7YkSZ+ufcnQ4+aJOH+pxDIgRlo8Xt3JlV0BA/BFGn4kYsdNx32LE/Ewx2WQG MWd0yZlxcn++bi8/oUj3ohomkb8WdPFD9ttyUgeQdPn7UPek2BOGXJ2FlUslKI9uABJk qpRg== 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=24v451npDhIG8JNOyJ5gc9i3nmbUL6JdsKWxgHP9//s=; b=dxx15gPt1bIiq0v9p/RyLLApCXS0PgDSEF/sBuKzJjm45hClmjLNz5js4aCgwEV8Vj 2E7MSYKTvFK1kgXu4gWSO+Dwt/t9jDFVpfj9Sy47DS5iJvSNQgWvb7w8GF8K6eF3N1jQ p1rtP4c2Nenn9NLAxbezSShZiY3Tnxq+HHN4IjVb5Fne728t+OKLKrMub6+WAuh3d23h uM6Pc4q1bNAESE3+vmcDa2pRrFkexdh+ywFPhoxoINL1fSw6rxfC+dMra5UrPeW3k7wh yKHYxPcJkH8IgSg1sL0DxEGyQ4rNCC+uHKiUo2IVbOv6rtUT8Zz2W5Q57AJsWPiO/vbS LDpg== X-Gm-Message-State: AKwxytcvvBE5XbpC1W7y2XlW1McNICOCHFAXqJJucTotyd6F5TvpZxFH 3LLNK2XVFBanvfdKvDvzG5o= X-Received: by 10.55.165.204 with SMTP id o195mr14638094qke.262.1516889858927; Thu, 25 Jan 2018 06:17:38 -0800 (PST) Received: from localhost (p200300E41F05C100DA2191AAB13561AC.dip0.t-ipconnect.de. [2003:e4:1f05:c100:da21:91aa:b135:61ac]) by smtp.gmail.com with ESMTPSA id q32sm2051125qkq.71.2018.01.25.06.17.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jan 2018 06:17:38 -0800 (PST) Date: Thu, 25 Jan 2018 15:17:36 +0100 From: Thierry Reding To: Meghana Madhyastha Cc: Lee Jones , Daniel Thompson , Jingoo Han , Noralf =?utf-8?Q?Tr=C3=B8nnes?= , Tomi Valkeinen , Daniel Vetter , Sean Paul , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v19 00/10] Add backlight helper functions Message-ID: <20180125141736.GE27888@ulmo> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5oH/S/bF6lOfqCQb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5oH/S/bF6lOfqCQb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 24, 2018 at 04:32:26PM +0000, Meghana Madhyastha wrote: > Move drm helper functions from tinydrm-helpers to linux/backlight for > ease of use by callers in other drivers. >=20 > Changes in v19: > -Changed to devm version of of_find_backlight in omapdrm (patch 10)=20 > -removed assigning pdev->dev to variable dev in omapdrm (patch 10) >=20 > Meghana Madhyastha (10): > video: backlight: Add helpers to enable and disable backlight > drm/tinydrm: Convert tinydrm_enable/disable_backlight to > backlight_enable/disable > video: backlight: Add of_find_backlight helper in backlight.c > drm/tinydrm: Replace tinydrm_of_find_backlight with of_find_backlight > video: backlight: Add devres versions of of_find_backlight > drm/tinydrm: Call devres version of of_find_backlight > drm/panel: Use backlight_enable/disable helpers > drm/omapdrm: Use backlight_enable/disable helpers > drm/panel: Use of_find_backlight helper > drm/omapdrm: Use of_find_backlight helper >=20 > drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 36 ++-------- > drivers/gpu/drm/panel/panel-innolux-p079zca.c | 30 ++------ > drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 6 +- > drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 38 ++-------- > drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 37 ++-------- > drivers/gpu/drm/tinydrm/Kconfig | 2 - > drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 95 -------------------= ------ > drivers/gpu/drm/tinydrm/mi0283qt.c | 3 +- > drivers/gpu/drm/tinydrm/mipi-dbi.c | 4 +- > drivers/gpu/drm/tinydrm/st7735r.c | 3 +- > drivers/video/backlight/backlight.c | 73 +++++++++++++++++++ > include/drm/tinydrm/tinydrm-helpers.h | 4 -- > include/linux/backlight.h | 58 +++++++++++++++ > 13 files changed, 165 insertions(+), 224 deletions(-) Thanks for doing this, this has been a long-standing issue! Thierry --5oH/S/bF6lOfqCQb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlpp5wAACgkQ3SOs138+ s6HvFw//fOGSkDIMRIdyxGZ3k63aoITeviJgGYtI8f4giCi6Pz4EQ74pv1o894Bg gFjc1GCNv4X/cUuXPUquK+05t9xCOyCQ7nvScQ5OLQfYSImA4BwGNfohJv5qOsj8 p1CPPfITC/a73cRdY4xqKTgK8hvQRCfk8NQCsLXbLwLkYkMdIPy32zfVC7/EMW7y WcxgTKdBr361+jLlT7WunULb1wf/4hdZUYH6LQgPK5g928CFVAiTzTPQqwmsqrks wdNXhA0rTdGLvTmk5YMnmZ5De0h+RKc1cggaab72sOCsGaA7yTjYFoomXO01XuKK 6+6eO3e4PlA2dKpo5duOnclZzqcSxwX9AjUYNqBuP2ZHuvb11SBB0XdnOqUcnhAS NKIyaY74/qJJfFzu0cYv715NmN0fjaZsvmgbdUuhAcMauwcUwkZaTYMGTdQpyfM+ zSA4ZD9pJ+r0h9Lnjrisge1UeUamO/EFOcfVsEadjrSJFF59SfhHr1YLCfwyXhim 3K/8CiAajXDzEFJk4ZrOPLd47FWN+WaWNtoNyYtXI1fdMB71DXn4k+uc0N2nZYjC K2I9TIqXAQ/TBZgMkihLHErqY8fHXRxQ69vxj2MBCptS7ZMF8y6hfdSzETX7puX3 QIS0uYaTFM6IaVArMXUUeugB9x1j4C4YjBkckZj333NsfTwo7QA= =mOTQ -----END PGP SIGNATURE----- --5oH/S/bF6lOfqCQb--