From patchwork Wed Apr 15 12:24:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 185482 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp710830ilf; Wed, 15 Apr 2020 05:26:34 -0700 (PDT) X-Google-Smtp-Source: APiQypJvrdPuFC/Ccivng4vF97QqFlMchtbMz6Yia9h/eHHDzcCC1Q7UJHpsJEPIf10Dw9QADzKj X-Received: by 2002:a62:1dd5:: with SMTP id d204mr27285146pfd.314.1586953594177; Wed, 15 Apr 2020 05:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586953594; cv=none; d=google.com; s=arc-20160816; b=ufCLxpb4OvZlg1ix9uBfsaIz9cLZeOZn+6P1VobBUbb3ykOlJN7ze/el1s7dAMPuo2 nmL5HCKUEpuyu/q/MLWOi2LBrExYAwYHZbtxJsgnPz+hSWLHZcCoJdaFdLhzHAcEzSFY /r/VSa92OxIRFaMtoiYVfRpfyJB/Eg3PDTQG3rMsLf+VIVMpnmh9BKbFTVGMOjpUe6jJ W8cI2vzRpx67Ma6rQ/dkuRC0UKFX7chY/oOtn1Fg7Vj+K4OYdMMlrwsWqngehx6iEdiZ ezV+LG95WKfPS/FSnXoH8eiCHZvB77vvK+V3JtzULofa5inOmVwaSjeRrSM2rMMQKp+c u7Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=UTLk0DL0vcKZwonxAJ2R0SB2TViCy/VpZnB4RetFOyM=; b=Cokyjbvl0+81mLemraeyBUlFXQjqArKBQ6GkEDvCxXP6yMjPj83Dev5oMMRw2hMquu B7bfgzKTiyrqXW5bm6qsG44J/QudLW62GgQK9h6bq36rIDvH+s6l0td62xafQx0/EYTP JbSlck7y8GR43KdFErzjRjBYYAmDw1Bjy/d7LgGIXi+O0w65pZVCCJbxs6oINYYLWWKR Aufk7z8+QiQpQhiAk2mhlmCckLLNcNpC/OmXNK1gB0qClxF62m7c8SNyPUcSRLubTEbj uG7YgGRIKJLZUgdq6yb/1V1VuWWj42xgHPzrBfuFLIoRBNvNlOTjJNaLEf+TqyEg2ZzQ /p3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="u/1ndgfJ"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id h190si12299411pge.213.2020.04.15.05.26.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 05:26:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="u/1ndgfJ"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F6DB6E9C3; Wed, 15 Apr 2020 12:26:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id E15796E9C3 for ; Wed, 15 Apr 2020 12:26:30 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id h25so3413800lja.10 for ; Wed, 15 Apr 2020 05:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LkmmiF1XQ2RsXcgInA6IwLSuuiFHluAPXsS2Oe/IWDE=; b=u/1ndgfJrMrT+7oxzJUoB3LMRfaTpL/yt5Il3j37hI1RQMkiFRxref6uRk6DmeZ3MP hsX4Ml098bL/1oKRvw+OPWcZVFFThKTOOxqd+8+H+MO4HXW1eWvD9tysEYKAkqPG7GCD 7A7J/Q7JcGi1C1MhUH5C54SgW4VGpafTg94MwUKWaFnkse+EF0geLlpCvvcyIN21Aymk xnYI1Yhwrke37XIZLyrDoimLZNMHXiDL0Rec+uxfppl15QfTZ1BAfksU8tTf4Mo4ISE3 vBLxaN0rXIp6aXGXnlCEcK3+7gjXuK4+f9ifDVWSAr9rxdSL8sKc7Vekt+fZsa959zjz OiMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LkmmiF1XQ2RsXcgInA6IwLSuuiFHluAPXsS2Oe/IWDE=; b=rTBCkA/+ZXroGvLZczIibnRYHO+aDnv0TeeLXiNqd8zzOuv58hHAnZAaNExo33tCez lo0aOLHWFWV9x6T5ObaP1HwjZ9RFUqeiW41lOW7H2bfQOINhUoGtFl5Snx7R3ab9IrIL Jaoz/b/p/UMmG9Az1DpdN2j7cAlc2pMLbVN+o6yzyz7VQ9t3LM7Zouo2exNecbpJ6s2D rv+7jWnkrYBpvBhMG8hQDWUF521wdBd5rglfOPlaKpgJF8B9IYLG9GA7yQcnf71kfIxU s0VWpdJM+IBPVNcoxakPAoOI064dOkJLxUBqUvTTs3nkaspBq1k+2BTNRqW32v7tcYdy 7qAw== X-Gm-Message-State: AGi0PubJRoMKDDwOO4ufokaP8hA8bXvFonJoq86sErr30FG9qUOH4Zm8 coxHVpfkLfYkaXevgRmGF83Ntg== X-Received: by 2002:a2e:3c10:: with SMTP id j16mr3075775lja.2.1586953589348; Wed, 15 Apr 2020 05:26:29 -0700 (PDT) Received: from localhost.localdomain (c-f3d7225c.014-348-6c756e10.bbcust.telenor.se. [92.34.215.243]) by smtp.gmail.com with ESMTPSA id n9sm11248038ljo.89.2020.04.15.05.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 05:26:28 -0700 (PDT) From: Linus Walleij To: Thierry Reding Subject: [PATCH] drm/tegra: Clean up GPIO includes Date: Wed, 15 Apr 2020 14:24:27 +0200 Message-Id: <20200415122427.111769-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The Tegra DRM drivers includes the legacy GPIO headers and but what it really uses is since only gpio_desc structs are ever referenced. Include the right header on the top level tegra/drm.h file and drop all the surplus includes. Signed-off-by: Linus Walleij --- drivers/gpu/drm/tegra/dpaux.c | 2 -- drivers/gpu/drm/tegra/drm.h | 2 +- drivers/gpu/drm/tegra/hdmi.c | 1 - drivers/gpu/drm/tegra/sor.c | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) -- 2.25.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Acked-by: Daniel Vetter diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c index 7dfb50f65067..105fb9cdbb3b 100644 --- a/drivers/gpu/drm/tegra/dpaux.c +++ b/drivers/gpu/drm/tegra/dpaux.c @@ -5,12 +5,10 @@ #include #include -#include #include #include #include #include -#include #include #include #include diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h index ed99b67deb29..bf0512177e8f 100644 --- a/drivers/gpu/drm/tegra/drm.h +++ b/drivers/gpu/drm/tegra/drm.h @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c index 38252c0f068d..94fb0193fa3d 100644 --- a/drivers/gpu/drm/tegra/hdmi.c +++ b/drivers/gpu/drm/tegra/hdmi.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 81226a4953c1..b010826e86da 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include