From patchwork Sat Dec 7 14:03:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11277451 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BCB9C6C1 for ; Sat, 7 Dec 2019 14:04:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9A16E24676 for ; Sat, 7 Dec 2019 14:04:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cZTvjGkj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726483AbfLGOEo (ORCPT ); Sat, 7 Dec 2019 09:04:44 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:46329 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726527AbfLGOEo (ORCPT ); Sat, 7 Dec 2019 09:04:44 -0500 Received: by mail-lf1-f66.google.com with SMTP id f15so6583740lfl.13; Sat, 07 Dec 2019 06:04:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VaBvhdhNtObbqsxPerTgXU57K3m4iUiAmX6XWjRdma8=; b=cZTvjGkjrfyjv3XvlFQLZd1fBYvUwA2F7rgXxqR3m5nmg4z4VuWhpUyxwuWV5mLHFW EdupZomTGwmdPvT58sN7eRALuAXX1G0Nf92Bt0sdGN7fHTxOx7iUT0HS0GMmbu4ySvtw z1MUgMzIaR7Bwp2VeOeHbW+y77pfYovpN7W+UV2JENCEMJ1WGIHs4myc1V5VnsO2AiKE 2tga/sY6fV6bOSKUJ3nKwOYkXHC1SOsy0XuCyXv/SWN3wThH9FXB/1CboBK4SmOHKKmO SPscZrSICFYQIb1PpbDJJ10R9p2xTo/OvSCjOU7YcPTtvqZD2jvRDV1/q6CSOmLuOh1R ldUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=VaBvhdhNtObbqsxPerTgXU57K3m4iUiAmX6XWjRdma8=; b=B1jZV+vazPYSWJIN5ffARDENuMUG5980kt4KDNLqDqLmd5InEKOWAjg2UKG8GJCR+4 BkNOeH0K811XIwSMUifrYoZDhWWo3FuJQjTmgAEb1W/Ow37lOc/11bLGvlNKWX05aLr5 A+MBYiAsoYwanC0z5VrWWge2ZeLiznaaE7rbZlGkrIG0PD4oKTHOdn9q7ogGBP316kHv vwlR5njBrul5DjoX0u38IKiptcGcXIHshpABswCNtiGGZN65wxvtm+E8mpL1rcKJx3mR Xi6nVF8KJ0r/6QBuCLJmWndurDE7hzkJGw/s/ffNaRBXcCxOe8Cq3VyA3WVi+5DVKIzX Ccag== X-Gm-Message-State: APjAAAVyCKUPD0bvCntK02d+QIkjJcuXENHkoQdd+U8/6Mgh/ciGa9I8 gsS2sgDH6OWrWUNbvfUnLNWod1nWzOSgHg== X-Google-Smtp-Source: APXvYqwM0erZxo6LOlySak2aMfBaSTmHMVITDmR/sT0HyMLyvaaqCnJATLGaFQPO9c/qhW5jo19sYg== X-Received: by 2002:a19:ac08:: with SMTP id g8mr11551704lfc.112.1575727480871; Sat, 07 Dec 2019 06:04:40 -0800 (PST) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id w17sm5644188lfn.22.2019.12.07.06.04.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 06:04:40 -0800 (PST) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org, Thierry Reding , Laurent Pinchart , Linus Walleij , Sam Ravnborg Cc: Abhinav Kumar , Andrzej Hajda , Benjamin Gaignard , Boris Brezillon , Daniel Vetter , David Airlie , Jagan Teki , Jitao Shi , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, Maarten Lankhorst , Maxime Ripard , Neil Armstrong , NXP Linux Team , Pengutronix Kernel Team , Purism Kernel Team , Sean Paul , Stefan Agner , Tomi Valkeinen , =?utf-8?q?Guido_G=C3=BCnther?= Subject: [PATCH v2 17/25] drm/panel: rocktech-jh057n00900: use drm_panel backlight support Date: Sat, 7 Dec 2019 15:03:45 +0100 Message-Id: <20191207140353.23967-18-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191207140353.23967-1-sam@ravnborg.org> References: <20191207140353.23967-1-sam@ravnborg.org> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Use the backlight support in drm_panel to simplify the driver. While touching the include files sort them and divide them up in blocks. Signed-off-by: Sam Ravnborg Reviewed-by: Guido Günther Reviewed-by: Laurent Pinchart Cc: "Guido Günther" Cc: Purism Kernel Team Cc: Thierry Reding Cc: Sam Ravnborg --- .../drm/panel/panel-rocktech-jh057n00900.c | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c b/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c index 3a4f1c0fce86..38ff742bc120 100644 --- a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c +++ b/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c @@ -5,20 +5,22 @@ * Copyright (C) Purism SPC 2019 */ -#include -#include -#include -#include -#include #include #include #include #include +#include #include #include + #include