[U-Boot] [PATCH] i2c: remove DECLARE_GLOBAL_DATA_PTR from i2c-uclass

No global pointer is used in this file.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com ---
drivers/i2c/i2c-uclass.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index 1397f34..920811a 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -12,8 +12,6 @@ #include <dm/device-internal.h> #include <dm/lists.h>
-DECLARE_GLOBAL_DATA_PTR; - #define I2C_MAX_OFFSET_LEN 4
/* Useful debugging function */

Hello Masahiro,
Am 13.10.2017 um 12:29 schrieb Masahiro Yamada:
No global pointer is used in this file.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
drivers/i2c/i2c-uclass.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Heiko Schocher hs@denx.de
bye, Heiko

Hi Heiko.
2017-10-16 15:26 GMT+09:00 Heiko Schocher hs@denx.de:
Hello Masahiro,
Am 13.10.2017 um 12:29 schrieb Masahiro Yamada:
No global pointer is used in this file.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
drivers/i2c/i2c-uclass.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Heiko Schocher hs@denx.de
FYI. Looks like this was delegated to you.

Hello Masahiro,
Am 17.10.2017 um 10:40 schrieb Masahiro Yamada:
Hi Heiko.
2017-10-16 15:26 GMT+09:00 Heiko Schocher hs@denx.de:
Hello Masahiro,
Am 13.10.2017 um 12:29 schrieb Masahiro Yamada:
No global pointer is used in this file.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
drivers/i2c/i2c-uclass.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Heiko Schocher hs@denx.de
FYI. Looks like this was delegated to you.
Yes, travis build is running.
bye, Heiko

Hello Masahiro,
Am 13.10.2017 um 12:29 schrieb Masahiro Yamada:
No global pointer is used in this file.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
drivers/i2c/i2c-uclass.c | 2 -- 1 file changed, 2 deletions(-)
Thanks!
Applied to u-boot-i2c.git
bye, Heiko
participants (2)
-
Heiko Schocher
-
Masahiro Yamada