From patchwork Sun May 26 18:05:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C786D91E for ; Sun, 26 May 2019 18:05:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B893928A81 for ; Sun, 26 May 2019 18:05:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACC5528A92; Sun, 26 May 2019 18:05:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A7A928A81 for ; Sun, 26 May 2019 18:05:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 48592897EE; Sun, 26 May 2019 18:05:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id BEACA897BB; Sun, 26 May 2019 18:05:41 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id q62so12727153ljq.7; Sun, 26 May 2019 11:05:41 -0700 (PDT) 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=/+JM09dJjWefyg39AOOFobn4Bz+Yez4U56j6r6AGNYo=; b=i11ze2WafTtjHHBIHpXN6b/eq1o0zRVFeJVd12Ut/pzHQzJCHDGWxraLHyWjAL/sSv IGIUsYABslFq0fpD+FB2KKqhi2Nf8myM7ec/tqALT513EXojZI6+9+vHSQYmQ80C87va E3nCBUjLuYMII31znrnURAJSsxXx/oUUM8+1mr1OYQCZpKT/sgdUzO3heMNVzvwR8XFZ xdpcyBAl1dxokxPae7GYs/H0ILP853Ryu91byFRyGK0zc67EVpeucmjXq4iABxjznpVv +apq6eXx1BESSpX5b3k8aDyr7Q0TQuvxN3wzwKbVmSI1TuO5gf7LFE+Y1HHyPB8bmduf 5eMg== X-Gm-Message-State: APjAAAUKqgnD7QjRLoZJqNSfsU898GStWsUSSP8OTErnhx+pb+6qTnK5 qqRe0SnQmAF1/0VQ7iWX/+w= X-Google-Smtp-Source: APXvYqyQ3yb/CJgH/qsOqSmhv9Y/nNlUmn4IODkXtiphtpj7DFfhXFaIptEEbWlQiIMNolGXoqO3ng== X-Received: by 2002:a2e:8709:: with SMTP id m9mr32272560lji.25.1558893940241; Sun, 26 May 2019 11:05:40 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id q6sm1779753lff.26.2019.05.26.11.05.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 11:05:39 -0700 (PDT) From: Sam Ravnborg To: Thierry Reding , dri-devel@lists.freedesktop.org Subject: [PATCH v2 1/2] drm/panel: panel-innolux: drop unused variable Date: Sun, 26 May 2019 20:05:31 +0200 Message-Id: <20190526180532.1641-2-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526180532.1641-1-sam@ravnborg.org> References: <20190526180532.1641-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-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=/+JM09dJjWefyg39AOOFobn4Bz+Yez4U56j6r6AGNYo=; b=KsMpVB5m+E5iGyqWVRd3TWObkX+uVjnMKM3UT9d6k60Axx7yIpevlKHS7Ho+ukQPld GLJwYrS7S39a94JQbY//wGBkrAW7Oh/oB/1Ivmo3Qg0ymJq91bY+F5f+/SoCVu88f78n LM13QmrtJWIZarKyENwhpDVCymi21LeX6qzb9GjTgrdF32OUm1qdIY4varmQqtFaRc4q Z7wa6TVukyCts1ULaLZUra5FMZ0KdyrAHuhAvH6Vj613dbhQ062FePxN20htA5ecUII2 OLzgo1yBIvS1CjwlYftJ3aUsUvIx2V7AUcunJ8XWsTgVqjxUzWR82G/OealBYy4YXEb7 t1PA== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Mavrodiev , David Airlie , Sam Ravnborg , intel-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The num_supplies variable is not used, delete it. Build tested. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: David Airlie Cc: Daniel Vetter Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c b/drivers/gpu/drm/panel/panel-innolux-p079zca.c index 8e5724b63f1f..959d57db0150 100644 --- a/drivers/gpu/drm/panel/panel-innolux-p079zca.c +++ b/drivers/gpu/drm/panel/panel-innolux-p079zca.c @@ -55,7 +55,6 @@ struct innolux_panel { struct backlight_device *backlight; struct regulator_bulk_data *supplies; - unsigned int num_supplies; struct gpio_desc *enable_gpio; bool prepared; From patchwork Sun May 26 18:05:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961869 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CE18391E for ; Sun, 26 May 2019 18:05:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD29B28A81 for ; Sun, 26 May 2019 18:05:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0D0D28A85; Sun, 26 May 2019 18:05:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A15AD28A95 for ; Sun, 26 May 2019 18:05:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 737C7897E3; Sun, 26 May 2019 18:05:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 259F5897D7; Sun, 26 May 2019 18:05:43 +0000 (UTC) Received: by mail-lj1-x244.google.com with SMTP id z1so7259747ljb.3; Sun, 26 May 2019 11:05:43 -0700 (PDT) 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=m3FRoKJ/3IYgvF0IulgFDGfbfGMRs5XZTcB8PQINBQQ=; b=i0PXWeIS3dlhnE5iRyV+Y1zE5ww+AhDEmiEMpL6Sux6TrpeLqLZgKNnRsIvOx6B7f1 strlpqe7htkNA0bp2kOJFKR3OMKIQylta9TqC1Od3lKu0FujL71D62JuG4XtQq53JBPh ALfjKFBllfu4ADoRxee6FqWARUP0/1PzMQG7P/6imiWLOzLbVl7cQDLBEXLxs/+MdPdZ ARMnyKUA+v8rtWLN4wPgdf0H3Vvk9FHALzAKVCIjgD62OaKBMgBVws39qgNhSv1lQbSn paUcz3ZrUSP6Oxg9T2zLXONiQfOzjnQU3m0usxw9uHj9Bot0Ui0ABH2eRg/7JTocc7S4 1U5A== X-Gm-Message-State: APjAAAWaEKK0Eb8CywqCtNZiT0ZrXtRFh5zQXKhztJe69ldLxpI2ypks rhCltdbJ8FXOggWHgUeYixo= X-Google-Smtp-Source: APXvYqyhXuxWgOfo+mGkJt2O1RsvBwkm3hUuR3qLGaWZf0JGLRvUbfj0TiXpxNuFKpIu4y59qvqjaQ== X-Received: by 2002:a2e:9116:: with SMTP id m22mr20055349ljg.12.1558893941455; Sun, 26 May 2019 11:05:41 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id q6sm1779753lff.26.2019.05.26.11.05.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 11:05:40 -0700 (PDT) From: Sam Ravnborg To: Thierry Reding , dri-devel@lists.freedesktop.org Subject: [PATCH v2 2/2] drm/panel: drop drmP.h usage Date: Sun, 26 May 2019 20:05:32 +0200 Message-Id: <20190526180532.1641-3-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526180532.1641-1-sam@ravnborg.org> References: <20190526180532.1641-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-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=m3FRoKJ/3IYgvF0IulgFDGfbfGMRs5XZTcB8PQINBQQ=; b=vG/v3vqs5jascPcO3CevqAljwRO24s98Oe/Rr2n7M4Oo/4m+wS3XlEnPWuUFKQY+53 IYjXayqGGYudM0fZ2tuKaoKBZuPOGlqluUpgjS+NGk83J370jxoL7gMFOc1Dh0bVz5hq LxG3k60OnTHAMoZGs6xH1IhV5tnNFsI1TMUgar4+bHZ5nBC+F1Wf6qO4c6Z3RUpmBcbu ibbKjTsnlK2P9yrdAW6bdKQu7F+Ks6nBR/pu4+94+/IOiK9huq52yWvpeFXB2VwrVZBv omqD//CzdGKdth/hed8XsS4ubdlsotacMSSXDDrq3Jr6t0fpj8GBO2mQn/9/qJcxQ/9d zADw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Mavrodiev , David Airlie , Sam Ravnborg , intel-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop use of the deprecated drmP.h header file. While touching the list of include files: - Divide include files in blocks of linux/* video/* drm/* etc. Be consistent in the order of the blocks - Sort individual blocks of include files Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Linus Walleij Cc: Stefan Mavrodiev Cc: David Airlie Cc: Daniel Vetter Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-arm-versatile.c | 6 ++++-- drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 9 +++++---- drivers/gpu/drm/panel/panel-innolux-p079zca.c | 9 ++++++--- drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 8 +++++--- drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c | 9 ++++++--- drivers/gpu/drm/panel/panel-lg-lg4573.c | 9 ++++++--- drivers/gpu/drm/panel/panel-lvds.c | 7 +++---- drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 8 ++++---- drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 11 ++++++++--- drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c | 7 ++++--- .../gpu/drm/panel/panel-raspberrypi-touchscreen.c | 4 ++-- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 5 ++++- drivers/gpu/drm/panel/panel-samsung-ld9040.c | 10 +++++++--- drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 10 +++++++--- drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c | 11 ++++++++--- drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | 12 ++++++++---- drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 10 ++++++---- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 7 ++++--- drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 7 ++++--- drivers/gpu/drm/panel/panel-simple.c | 9 +++++---- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 10 +++++++--- drivers/gpu/drm/panel/panel-truly-nt35597.c | 12 ++++++++---- 22 files changed, 121 insertions(+), 69 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm/panel/panel-arm-versatile.c index a79908dfa3c8..5f72c922a04b 100644 --- a/drivers/gpu/drm/panel/panel-arm-versatile.c +++ b/drivers/gpu/drm/panel/panel-arm-versatile.c @@ -25,13 +25,12 @@ * Epson QCIF display. * */ -#include -#include #include #include #include #include +#include #include #include #include @@ -39,6 +38,9 @@ #include