]> git.sur5r.net Git - u-boot/commitdiff
i2c: remove DECLARE_GLOBAL_DATA_PTR from i2c-uclass
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 13 Oct 2017 10:29:03 +0000 (19:29 +0900)
committerHeiko Schocher <hs@denx.de>
Tue, 17 Oct 2017 09:27:42 +0000 (11:27 +0200)
No global pointer is used in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-uclass.c

index 1397f34dda0a6d6cf9d7a35eb2c2068e3d945611..920811a075c68454908129497db1809d4bd9ec72 100644 (file)
@@ -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 */