[U-Boot] [PATCH v4 2/3] spi: pl022: Drop unnecessary include files

Quentin Schulz quentin.schulz at bootlin.com
Tue Nov 27 08:00:19 UTC 2018


Hi all,

On Sat, Nov 24, 2018 at 05:47:22PM +0530, Jagan Teki wrote:
> This patch can drop unnecessary include files in
> pl022_spi driver.
> 
> Cc: Quentin Schulz <quentin.schulz at bootlin.com>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> ---
> Changes for v4:
> - none
> Changes for v3:
> - split patch from previous
> 
>  drivers/spi/pl022_spi.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/spi/pl022_spi.c b/drivers/spi/pl022_spi.c
> index 05f4f6f481..f2e5367225 100644
> --- a/drivers/spi/pl022_spi.c
> +++ b/drivers/spi/pl022_spi.c
> @@ -9,16 +9,11 @@
>   * Driver for ARM PL022 SPI Controller.
>   */
>  
> -#include <asm/io.h>
>  #include <clk.h>
>  #include <common.h>
>  #include <dm.h>
>  #include <dm/platform_data/pl022_spi.h>
> -#include <fdtdec.h>
> -#include <linux/bitops.h>
> -#include <linux/bug.h>
>  #include <linux/io.h>
> -#include <linux/kernel.h>
>  #include <spi.h>
>  
>  #define SSP_CR0		0x000

Acked-by: Quentin Schulz <quentin.schulz at bootlin.com>

Thanks for the patch,
Quentin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181127/df5755e9/attachment.sig>


More information about the U-Boot mailing list