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

Konrad Dybcio konrad.dybcio at linaro.org
Fri Mar 31 03:37:00 CEST 2023



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 at linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio at 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


More information about the U-Boot mailing list