All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@amarulasolutions.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 2/3] spi: pl022: Drop unnecessary include files
Date: Sat, 24 Nov 2018 17:47:22 +0530	[thread overview]
Message-ID: <20181124121723.15151-2-jagan@amarulasolutions.com> (raw)
In-Reply-To: <20181124121723.15151-1-jagan@amarulasolutions.com>

This patch can drop unnecessary include files in
pl022_spi driver.

Cc: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Jagan Teki <jagan@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
-- 
2.18.0.321.gffc6fa0e3

  reply	other threads:[~2018-11-24 12:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-24 12:17 [U-Boot] [PATCH v4 1/3] spi: pl022: Simplify platdata code Jagan Teki
2018-11-24 12:17 ` Jagan Teki [this message]
2018-11-27  8:00   ` [U-Boot] [PATCH v4 2/3] spi: pl022: Drop unnecessary include files Quentin Schulz
2018-11-27 15:37     ` Jagan Teki
2018-11-24 12:17 ` [U-Boot] [PATCH v4 3/3] dm: platform_data: spi: s/pl022_spi.h/spi_pl022.h Jagan Teki
2018-11-27  8:00   ` Quentin Schulz
2018-11-27 15:37     ` Jagan Teki
2018-11-27  7:59 ` [U-Boot] [PATCH v4 1/3] spi: pl022: Simplify platdata code Quentin Schulz
2018-11-27 15:38   ` Jagan Teki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181124121723.15151-2-jagan@amarulasolutions.com \
    --to=jagan@amarulasolutions.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.