Received: by 10.223.176.46 with SMTP id f43csp2992263wra; Mon, 22 Jan 2018 06:48:57 -0800 (PST) X-Google-Smtp-Source: AH8x224oZaNFp5vTBhVZSDVvtywm1rdOnbVGbRnqBOeVBb2KgpAdeC2zApJvfjjvUc7DeqUF02aK X-Received: by 10.98.33.198 with SMTP id o67mr8787312pfj.0.1516632537095; Mon, 22 Jan 2018 06:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516632537; cv=none; d=google.com; s=arc-20160816; b=dEECWj19dCXhYSk79eWf+RicmzrLX0McDTiua60n7wl66TfEsCGezHcuWoXfwBxCZ8 FJt8kCUCGEK1lAwGQWyvKAtrEieEd8yjAYnw3VTeeaPVQ9lUC0Boc0d7g4UIR0c5qlX/ UzrBs7XF1D/86nmKpt++JVTyi8jmmzZrb14VY+9nd9wsnI8UcNqhl7/CPAgfwYRa4rm7 NEbS0yKD5QXc716FGeiqITrMWPYbLWYnjTfOlf9Hg99yOWZEkSkPGTxMPU1V8K1LjT8h Z9+MgNVz0vjrmmVh8cv1hj2Uvr69r+YCM80nrmvPd5N6AV/M8/sVM8SCBLFPRtUAxBYF To+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-authentication-results; bh=QHOEeEtp7SPtjKHjY7EdsT3Ix8XtKV40shskcPT89MU=; b=LnpHaj2D8tdo79Ra2avY5jsYOgVZeTJMuVbOh+dxqQLA7cROeCgUOnMxrBhje1UvEO wT9IefA7fvtSc4j1kJxFxLXbAjsSVyawPA3cxUaWEtzQ8YEfV6VIpoEXmsHjIZpy3Y00 fl9oEIqanFl9jtoHgB1xZmafwAYF0QEynpPdQgAQYpAL+yy2uAe98Jm8AHK8FDVLjni4 hgwSFFatBLGPgX3mm5HCWPNo65H490GJFJ071Hj/mv7JJO9HM6/r/jTWnHlCon2L/PIG U0eBaHsvOqywVwdtqrt7eORXHu5nRE05bd8zyDliN9Whof+FuuifueY+EpaiadNN/RFV IR/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ssrIWKXB; 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 a16si288758pfl.77.2018.01.22.06.48.42; Mon, 22 Jan 2018 06:48:57 -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=ssrIWKXB; 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 S1751131AbeAVOsP (ORCPT + 99 others); Mon, 22 Jan 2018 09:48:15 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34871 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbeAVOsO (ORCPT ); Mon, 22 Jan 2018 09:48:14 -0500 Received: by mail-pf0-f194.google.com with SMTP id t12so7252721pfg.2 for ; Mon, 22 Jan 2018 06:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=QHOEeEtp7SPtjKHjY7EdsT3Ix8XtKV40shskcPT89MU=; b=ssrIWKXB/PnXv6XihKkeobxyA6lZH5qIGukeFokAVBYoQ0FnlofOq3/cA18suSI93K c9SGOdP4ECA09m+f6/A4O/I5I6XLQTjJ4T/vZsfJpOCMEaVU5TymgRIpdvzEHklZZ6Wq 6nkYLsUTpudNfTtQ5eQYaNJ645Fd/8tKF6DhXsKzrHvl28YWBMoHdilEx87W8nJ6A3jz 79/dJwpOvPSNfmxExPSQQfZovK7cf8UXFXMninDy3A1I1Wqh7kQbDCQ3N0Fof0wtuvVb 96EBq+U+O3W3FwK67t2Ir6gjhKKJR7YlMF6uGFJhZqbbfK4NcvQuN5QTye/4XAWdzgCa oJYw== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=QHOEeEtp7SPtjKHjY7EdsT3Ix8XtKV40shskcPT89MU=; b=TGvuZ6tcdJu0oTT3zWKfakNXrVhXapAASX1hDdq75DY3xb2KRPOjZGO7L2OZNnUT1x HLKBypLETJVAXzWwsGR7auxA6hEx0/xYJH+yT5gQXCWbA0bGM+2O4caJ1ZsudccaGTwc CRnlcu2uOjru/bFi51QKE1zkN5Ez8c2f9WWo75SOum2Pk5lYNYMBywX02n8o9JPcY7cj l038eEi2ZH4dTh3yIoXLPxGwz7A1DdpdgO4KDZyaMKifSs6kfLzBPrsuqHjRCM8spN5E WQwvg9HRHk4xlYNvoGXrmT3g59uMTLvtKbTo38YiMg3uy83EWRoLlcr5fEn8s16JVa6G MEHw== X-Gm-Message-State: AKwxytdofLkC++u5viXIARtlsjQhyAmMOa88GSnll4Z//r3+nRER49gN CmhxkAWPSSyT+1CWkg+ilIk= X-Received: by 2002:a17:902:848c:: with SMTP id c12-v6mr3870818plo.329.1516632493203; Mon, 22 Jan 2018 06:48:13 -0800 (PST) Received: from raspberrypi ([122.171.92.137]) by smtp.gmail.com with ESMTPSA id m65sm1993684pfc.150.2018.01.22.06.48.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Jan 2018 06:48:11 -0800 (PST) Date: Mon, 22 Jan 2018 14:48:06 +0000 From: Meghana Madhyastha To: Lee Jones , Daniel Thompson , Jingoo Han , Thierry Reding , Noralf =?iso-8859-1?Q?Tr=F8nnes?= , Tomi Valkeinen , Daniel Vetter , Sean Paul , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v18 00/10] Add backlight helper functions Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move drm helper functions from tinydrm-helpers to linux/backlight for ease of use by callers in other drivers. Changes in v18: -Fixed warnings resulting from passing device_node* to of_find_backlight. Fixed it by passing struct device* to of_find_backlight 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 | 44 ++++-------- 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, 171 insertions(+), 226 deletions(-) -- 2.11.0