From 73fec24319ffb2a699025b4570d8700c0c18b413 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 30 Sep 2022 16:21:50 +0200 Subject: [PATCH] mb/lenovo/*/mainboard.c: Clean up includes Signed-off-by: Elyes Haouas Change-Id: I406f21c0c05e6af357e45e718422be94c6fd5408 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68017 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/mainboard/lenovo/t410/mainboard.c | 1 - src/mainboard/lenovo/t420/mainboard.c | 1 - src/mainboard/lenovo/t420s/mainboard.c | 1 - src/mainboard/lenovo/t430/mainboard.c | 1 - src/mainboard/lenovo/t430s/mainboard.c | 1 - src/mainboard/lenovo/t520/mainboard.c | 1 - src/mainboard/lenovo/t530/mainboard.c | 1 - src/mainboard/lenovo/x131e/mainboard.c | 1 - src/mainboard/lenovo/x1_carbon_gen1/mainboard.c | 1 - src/mainboard/lenovo/x200/mainboard.c | 1 - src/mainboard/lenovo/x201/mainboard.c | 4 +--- src/mainboard/lenovo/x220/mainboard.c | 1 - src/mainboard/lenovo/x230/mainboard.c | 1 - 13 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/mainboard/lenovo/t410/mainboard.c b/src/mainboard/lenovo/t410/mainboard.c index 26a0f923dc..13cafba2a9 100644 --- a/src/mainboard/lenovo/t410/mainboard.c +++ b/src/mainboard/lenovo/t410/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include "dock.h" static void mainboard_enable(struct device *dev) { diff --git a/src/mainboard/lenovo/t420/mainboard.c b/src/mainboard/lenovo/t420/mainboard.c index c8b212cb2f..50c944e341 100644 --- a/src/mainboard/lenovo/t420/mainboard.c +++ b/src/mainboard/lenovo/t420/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include static void mainboard_enable(struct device *dev) { diff --git a/src/mainboard/lenovo/t420s/mainboard.c b/src/mainboard/lenovo/t420s/mainboard.c index c8b212cb2f..50c944e341 100644 --- a/src/mainboard/lenovo/t420s/mainboard.c +++ b/src/mainboard/lenovo/t420s/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include static void mainboard_enable(struct device *dev) { diff --git a/src/mainboard/lenovo/t430/mainboard.c b/src/mainboard/lenovo/t430/mainboard.c index c8b212cb2f..50c944e341 100644 --- a/src/mainboard/lenovo/t430/mainboard.c +++ b/src/mainboard/lenovo/t430/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include static void mainboard_enable(struct device *dev) { diff --git a/src/mainboard/lenovo/t430s/mainboard.c b/src/mainboard/lenovo/t430s/mainboard.c index c8b212cb2f..50c944e341 100644 --- a/src/mainboard/lenovo/t430s/mainboard.c +++ b/src/mainboard/lenovo/t430s/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include static void mainboard_enable(struct device *dev) { diff --git a/src/mainboard/lenovo/t520/mainboard.c b/src/mainboard/lenovo/t520/mainboard.c index d5703f9a74..39790f298a 100644 --- a/src/mainboard/lenovo/t520/mainboard.c +++ b/src/mainboard/lenovo/t520/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include /* mainboard_enable is executed as first thing after enumerate_buses(). */ diff --git a/src/mainboard/lenovo/t530/mainboard.c b/src/mainboard/lenovo/t530/mainboard.c index 33c95c27c5..b33e22920e 100644 --- a/src/mainboard/lenovo/t530/mainboard.c +++ b/src/mainboard/lenovo/t530/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include // mainboard_enable is executed as first thing after // enumerate_buses(). diff --git a/src/mainboard/lenovo/x131e/mainboard.c b/src/mainboard/lenovo/x131e/mainboard.c index c8b212cb2f..50c944e341 100644 --- a/src/mainboard/lenovo/x131e/mainboard.c +++ b/src/mainboard/lenovo/x131e/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include static void mainboard_enable(struct device *dev) { diff --git a/src/mainboard/lenovo/x1_carbon_gen1/mainboard.c b/src/mainboard/lenovo/x1_carbon_gen1/mainboard.c index c8b212cb2f..50c944e341 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/mainboard.c +++ b/src/mainboard/lenovo/x1_carbon_gen1/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include static void mainboard_enable(struct device *dev) { diff --git a/src/mainboard/lenovo/x200/mainboard.c b/src/mainboard/lenovo/x200/mainboard.c index 0fc77d31e3..4b2f2533fa 100644 --- a/src/mainboard/lenovo/x200/mainboard.c +++ b/src/mainboard/lenovo/x200/mainboard.c @@ -3,7 +3,6 @@ #include #include #include -#include "dock.h" static void fill_ssdt(const struct device *device) { diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c index 1a306b1695..951058b986 100644 --- a/src/mainboard/lenovo/x201/mainboard.c +++ b/src/mainboard/lenovo/x201/mainboard.c @@ -1,10 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include #include #include -#include -#include -#include "dock.h" #include #include diff --git a/src/mainboard/lenovo/x220/mainboard.c b/src/mainboard/lenovo/x220/mainboard.c index 33c95c27c5..b33e22920e 100644 --- a/src/mainboard/lenovo/x220/mainboard.c +++ b/src/mainboard/lenovo/x220/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include // mainboard_enable is executed as first thing after // enumerate_buses(). diff --git a/src/mainboard/lenovo/x230/mainboard.c b/src/mainboard/lenovo/x230/mainboard.c index 33c95c27c5..b33e22920e 100644 --- a/src/mainboard/lenovo/x230/mainboard.c +++ b/src/mainboard/lenovo/x230/mainboard.c @@ -2,7 +2,6 @@ #include #include -#include // mainboard_enable is executed as first thing after // enumerate_buses().