diff mbox series

[15/16] i2c: uniphier(-f): remove unneeded #include <dm/root.h>

Message ID 1485554036-29320-16-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 800acb850ebffd91c3a51f426897566ed0441262
Headers show
Series ARM: uniphier: UniPhier SoC updates for v2017.03 (3rd round) | expand

Commit Message

Masahiro Yamada Jan. 27, 2017, 9:53 p.m. UTC
This include is unnecessary for low-level drivers.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 drivers/i2c/i2c-uniphier-f.c | 1 -
 drivers/i2c/i2c-uniphier.c   | 1 -
 2 files changed, 2 deletions(-)

-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Comments

Heiko Schocher Jan. 31, 2017, 5:07 a.m. UTC | #1
Hello Masahiro,

Am 27.01.2017 um 22:53 schrieb Masahiro Yamada:
> This include is unnecessary for low-level drivers.

>

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

> ---

>

>   drivers/i2c/i2c-uniphier-f.c | 1 -

>   drivers/i2c/i2c-uniphier.c   | 1 -

>   2 files changed, 2 deletions(-)


Reviewed-by: Heiko Schocher <hs@denx.de>


bye,
Heiko
>

> diff --git a/drivers/i2c/i2c-uniphier-f.c b/drivers/i2c/i2c-uniphier-f.c

> index 8bfa916..e212c13 100644

> --- a/drivers/i2c/i2c-uniphier-f.c

> +++ b/drivers/i2c/i2c-uniphier-f.c

> @@ -12,7 +12,6 @@

>   #include <linux/sizes.h>

>   #include <linux/errno.h>

>   #include <dm/device.h>

> -#include <dm/root.h>

>   #include <i2c.h>

>   #include <fdtdec.h>

>

> diff --git a/drivers/i2c/i2c-uniphier.c b/drivers/i2c/i2c-uniphier.c

> index f391f11..73575e9 100644

> --- a/drivers/i2c/i2c-uniphier.c

> +++ b/drivers/i2c/i2c-uniphier.c

> @@ -12,7 +12,6 @@

>   #include <linux/sizes.h>

>   #include <linux/errno.h>

>   #include <dm/device.h>

> -#include <dm/root.h>

>   #include <i2c.h>

>   #include <fdtdec.h>

>

>


-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox series

Patch

diff --git a/drivers/i2c/i2c-uniphier-f.c b/drivers/i2c/i2c-uniphier-f.c
index 8bfa916..e212c13 100644
--- a/drivers/i2c/i2c-uniphier-f.c
+++ b/drivers/i2c/i2c-uniphier-f.c
@@ -12,7 +12,6 @@ 
 #include <linux/sizes.h>
 #include <linux/errno.h>
 #include <dm/device.h>
-#include <dm/root.h>
 #include <i2c.h>
 #include <fdtdec.h>
 
diff --git a/drivers/i2c/i2c-uniphier.c b/drivers/i2c/i2c-uniphier.c
index f391f11..73575e9 100644
--- a/drivers/i2c/i2c-uniphier.c
+++ b/drivers/i2c/i2c-uniphier.c
@@ -12,7 +12,6 @@ 
 #include <linux/sizes.h>
 #include <linux/errno.h>
 #include <dm/device.h>
-#include <dm/root.h>
 #include <i2c.h>
 #include <fdtdec.h>