[PATCH v3 2/9] serial: msm-geni: remove redundant includes

Vladimir Zapolskiy vladimir.zapolskiy at linaro.org
Fri Apr 21 19:50:34 CEST 2023


For whatever reason, likely a driver stub was copied from another
driver, the driver contains a bunch of unnecessary and confusing
includes like watchdog.h etc., the change reduces the list.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy at linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio at linaro.org>
---
 drivers/serial/serial_msm_geni.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/serial/serial_msm_geni.c b/drivers/serial/serial_msm_geni.c
index 3943ca43e49e..df61ae04df0a 100644
--- a/drivers/serial/serial_msm_geni.c
+++ b/drivers/serial/serial_msm_geni.c
@@ -11,15 +11,9 @@
 #include <clk.h>
 #include <common.h>
 #include <dm.h>
-#include <dm/pinctrl.h>
 #include <errno.h>
-#include <linux/compiler.h>
-#include <log.h>
 #include <linux/delay.h>
-#include <malloc.h>
 #include <serial.h>
-#include <watchdog.h>
-#include <linux/bug.h>
 
 #define UART_OVERSAMPLING	32
 #define STALE_TIMEOUT	160
-- 
2.33.0



More information about the U-Boot mailing list