Received: by 10.223.176.46 with SMTP id f43csp965922wra; Wed, 24 Jan 2018 08:33:10 -0800 (PST) X-Google-Smtp-Source: AH8x227lXHxEGssM0sHEr0xn1Qbrn98yIo5CXHmxY168Cm4K4LVys3hLPDaKYjvvsKM8bkp+aFLH X-Received: by 10.99.114.30 with SMTP id n30mr10873747pgc.178.1516811590841; Wed, 24 Jan 2018 08:33:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516811590; cv=none; d=google.com; s=arc-20160816; b=QctUe4xcD/Br21PrEGWxbxhUTaM1IuBi5rJ2Gx98pLbaOPr+5eJkoJ4oyYnXPZRYpc ChEaZpM0pT7bPRdN0squcaEXwpxHTID8PUEGknnV9jFJ5iOvdlmvM2tOabT1WhS261/8 auKBr5+Drzom3efC+fBmVmnF9dKsVdFyF8GT9Wzi5kUx0YqjcyqriBiMaBo1B+izKpaB 5QzdbNhdxhN8Tc6YhSdsjcNfSJIhkrrocZ1OlO8yvDZeTI3lm9p6AHgCAEfDdjvlF1Zt jG5BupIwrGKmmQyST5J8lTuGJYvROEavjuMhb9ALEbUAacnys85zXRuNTKazh8YhWuqx mVzg== 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=ktojFPTyIIl8xgCuBTA8PKxcXjwjiP6LdyHFkyd9gPE=; b=Dxv3j3C0Ysu5JsT3Gubl/ytlZty6jB/5eYuk5Z83rqzpn8saj7osCZ35R1u9qVG536 53kEUC1t8T56WSniIkPgHEIgzuKqRddWFA9pWTebtTjI/o24yZtwSXU0aFa0MdPoCQpK iX2cnqI3GyL0eP8OnPwPB0b9ooZoSVuRqSJeNCeYUJ2638JAhSlqUoCaAI7ByzOnevwh ISzJk5n8PjyQXZ28DlLGbI79nYFKy+NqfQz5oHQ5vQxgsQgRw6rFSRUf7zFT+F1w3HVA o8W8oksP+R4SuvZccXLyKGkXjng+Zr0oZXNRLt33JdC+RjUoYqbhr4WcvLB4Ledoy9fj /Iaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=odNXT5YW; 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 v5si3139628pfl.11.2018.01.24.08.32.56; Wed, 24 Jan 2018 08:33:10 -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=odNXT5YW; 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 S964779AbeAXQce (ORCPT + 99 others); Wed, 24 Jan 2018 11:32:34 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:47069 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934237AbeAXQcc (ORCPT ); Wed, 24 Jan 2018 11:32:32 -0500 Received: by mail-pg0-f68.google.com with SMTP id s9so3046358pgq.13 for ; Wed, 24 Jan 2018 08:32:32 -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=ktojFPTyIIl8xgCuBTA8PKxcXjwjiP6LdyHFkyd9gPE=; b=odNXT5YWX50xktP9OXbvUqyZ7b02+CacsMtoeJa5mM7AWUVHx1UnBgZXC5sr9FrjAl n17bDIKcK/4jyjTQ6OHudnO2POi02y04tMa9SP0Tm/OlUJFtpyZGfnk7K4Wbi2ZoyqaP YfU+REmL6r+PwdfscCHvtOnT705yaf9KzeFvQuhTDRQjHjxF/aqJZjYYHezv/OPIrVc8 Q104Awd9G/bnbJweFbTyEM+8U75aCoI3eCE0xWQUKLXNbU5sDrhyIUnROLdezEWhEtVP uvjX20z6wt1oYiwC4MG7Ar6sIsv98bLbD/Cb94vIVl/p0jaTSv+uqytGUqBNcn8aWFrh XquA== 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=ktojFPTyIIl8xgCuBTA8PKxcXjwjiP6LdyHFkyd9gPE=; b=b81OZAM8kKFGJGXMrUmq5Mt1s6XECi6t9pI0+1h14DLqir30FgOabsXni6OffjUQuy qmzSrbzSIotYSxAiLb92DoYwut9HOSXOrTGmMlPrXUNMbUwFt4gElS4TbGzlaV8dcUdS T6JzyU7ooQxFbNO7O7yQG4xbRM1Z3nFRLF6ekAnSdwymoiG3Shzp9oIM6OJ+pyq5nWME ELHrcxHkQnOynyUATzO7p6kQgAHLPP45JbX1vCjxEgN2saI4/jB/8DYSIVFSf7SqpqMO 7kQYw0wJoNHHJxJKeag/vAKvL/EnHqn40UWljPkU50E6J4RtXtWgzSKHvVKD1DYHZylI Y2wA== X-Gm-Message-State: AKwxytcHDVttlmKsROxvsWEnK0Z0mcIIB8g1SmHPL/uXTdGdnz1Q5GjK tRRxDJVD8IED3XAmIzSnmZI= X-Received: by 2002:a17:902:4:: with SMTP id 4-v6mr8522950pla.187.1516811552226; Wed, 24 Jan 2018 08:32:32 -0800 (PST) Received: from raspberrypi ([122.172.61.122]) by smtp.gmail.com with ESMTPSA id p1sm1332278pgr.44.2018.01.24.08.32.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jan 2018 08:32:31 -0800 (PST) Date: Wed, 24 Jan 2018 16:32:26 +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 v19 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 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