diff mbox series

[2/6] serial: msm-geni: remove redundant includes

Message ID 20230330194736.2400593-3-vladimir.zapolskiy@linaro.org
State Superseded
Headers show
Series serial: msm-geni: fix UART baudrate on modern platforms | expand

Commit Message

Vladimir Zapolskiy March 30, 2023, 7:47 p.m. UTC
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@linaro.org>
---
 drivers/serial/serial_msm_geni.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Konrad Dybcio March 31, 2023, 1:37 a.m. UTC | #1
On 30.03.2023 21:47, Vladimir Zapolskiy wrote:
> 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@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  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
diff mbox series

Patch

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