Received: by 10.223.185.116 with SMTP id b49csp814967wrg; Tue, 20 Feb 2018 08:18:16 -0800 (PST) X-Google-Smtp-Source: AH8x226CETlHkERjmclE39ex2SwHCLYaEcoPLcL3jPDRQompf+d84b6EW+eOMDzoV7mSB29k0Agj X-Received: by 10.99.110.70 with SMTP id j67mr128102pgc.202.1519143496686; Tue, 20 Feb 2018 08:18:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519143496; cv=none; d=google.com; s=arc-20160816; b=SsIOe67u3zmFe5FkpCbnRE653vkK9QP+oXtKIpui5tMGSFJpCQrzfZIiwrISR2ia6V PGyLnhequR1KbfCvsORVmK7UEtJbq8nwhS/tJDcrckF0wvjPXHApLxr1Dm0ubZUpm+5W 9HIGFlLixOWGiB346WYy7hm/5AvOMMQuBLIrIZChjyexpID/I19BCIm83LqgMPsd/1I4 FZXr72hqkb90qJUDqxPo/uBlL9NOw992f6Kg1wh++bzNjEbLzTV8kLpBceCc0cpPsauL BIi5bKl6v6RRxIMddKFaiW6qwwv37SboYMkDlmxXO7EvFryHlzpI7qCnbiRDnfbbfZMN vBhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=BR75YBrrI8Aks6zboP8ISCu22+hGYZoGpxJ7LXN2o2w=; b=fvWCK2N6FP0+d8yUOC5Fs8BtsMT21chx6fhxtlqRYedvrcRsnaStgTg/vhz55JE3Kr x+a02hfrz8BzbUxmmNOSd7NNV/4l5B3WXxZfaoyIdmR53ZNPsjsNCLKnJdQm18ogdII5 TDwo73QdThxIjiS/Hazw4Dj0GPve0PrGe3lPsMtOVeFnwiNgqkY4U2D7ho4Q718sVwc8 mGSvtr6EESeu4y1gOXLoM3nH/IaL+a5p2FZaFUNRb2WZ3y04x8VVNb9OzhQGuW6vfgVg z7JC4+G03lnyomtick5DAx9Ms50aszc2NLaX+cGwN++1lfFa7oebmMeMxmXjhO9j14Qx 21FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IdbChSEJ; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si4327828pgt.427.2018.02.20.08.17.58; Tue, 20 Feb 2018 08:18:16 -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=@chromium.org header.s=google header.b=IdbChSEJ; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752812AbeBTQQq (ORCPT + 99 others); Tue, 20 Feb 2018 11:16:46 -0500 Received: from mail-it0-f47.google.com ([209.85.214.47]:39672 "EHLO mail-it0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751993AbeBTQQo (ORCPT ); Tue, 20 Feb 2018 11:16:44 -0500 Received: by mail-it0-f47.google.com with SMTP id l187so13734663ith.4 for ; Tue, 20 Feb 2018 08:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BR75YBrrI8Aks6zboP8ISCu22+hGYZoGpxJ7LXN2o2w=; b=IdbChSEJqYHPDPQgKr/vcKN16IVOepxTxhSxcrGbgZ6e++QJSmEp/Qth3/3NrSHYpI 9GTP2knwzeGQ3ymHbaucLRBNTcJ0GC0BcfvNpVr61Pw0VOLYktjvXOi6xDljfn7TS0ep CQ8Y56tNOtMAcHJGrsN3Wv4UjkZGnQIDHIKKk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BR75YBrrI8Aks6zboP8ISCu22+hGYZoGpxJ7LXN2o2w=; b=oupI/hJ1jMA1QqMIoIwec7l8rNVm9bqYi4hRx43snyVgwzgQOfU6nOk5XAfrQbV5NS fgGN+/skuDMbRZ7tLK0zOE2pOfF0Yig4kcUc5dNlche+z+84ZQukR1BklCdBi9NMBmtj nzNvFcw9HxI/cL9YobLCpmWyPIXjZOqWFYIhbsza+d0WZWzTP6VBbC3l9sokhM+3jTes 0E2BFVP8lQQZfWW8biYxf6zISz5/Ff6q1A+DWJXOM/3JuxtAFaLRPicgAhbCci/9AJ63 Dp8+dF1YfV47L6WbCCvPhegyr+SWVPnhMjWBZgqNrSNFOWSg8xIs15WQ6Ni8fPDQnmJN D+sA== X-Gm-Message-State: APf1xPBRWAiZHQMc/GR1+h47TNheNQE1J28ipOAMPSyadYFieBOvFNh6 Ji/oTnfXhoSxqnWbjcDsdF/DFRJtFLk= X-Received: by 10.36.181.65 with SMTP id j1mr831689iti.117.1519143403661; Tue, 20 Feb 2018 08:16:43 -0800 (PST) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com. [209.85.223.182]) by smtp.gmail.com with ESMTPSA id v18sm8242194ita.29.2018.02.20.08.16.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 08:16:42 -0800 (PST) Received: by mail-io0-f182.google.com with SMTP id m22so2000236iob.12 for ; Tue, 20 Feb 2018 08:16:42 -0800 (PST) X-Received: by 10.107.187.4 with SMTP id l4mr247154iof.2.1519143402070; Tue, 20 Feb 2018 08:16:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.162.84 with HTTP; Tue, 20 Feb 2018 08:16:21 -0800 (PST) In-Reply-To: References: From: Sean Paul Date: Tue, 20 Feb 2018 11:16:21 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v19 00/10] Add backlight helper functions To: Meghana Madhyastha Cc: Lee Jones , Daniel Thompson , Jingoo Han , Thierry Reding , =?UTF-8?Q?Noralf_Tr=C3=B8nnes?= , Tomi Valkeinen , Daniel Vetter , dri-devel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 11:32 AM, Meghana Madhyastha wrote: > Move drm helper functions from tinydrm-helpers to linux/backlight for > ease of use by callers in other drivers. > It was a long time coming, but this has finally been applied to -misc-next. Thanks for sticking with it! Sean > Changes in v19: > -Changed to devm version of of_find_backlight in omapdrm (patch 10) > -removed assigning pdev->dev to variable dev in omapdrm (patch 10) > > 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 > > 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(-) > > -- > 2.11.0 >