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

Jagan Teki jagan at amarulasolutions.com
Tue Nov 27 15:37:35 UTC 2018


On Tue, Nov 27, 2018 at 1:30 PM Quentin Schulz
<quentin.schulz at bootlin.com> wrote:
>
> 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>

Applied to u-boot-spi/master


More information about the U-Boot mailing list