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

Heiko Schocher hs at denx.de
Tue Jan 31 06:07:51 CET 2017


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 at 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 at 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


More information about the U-Boot mailing list