projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb0044d
)
i2c: remove DECLARE_GLOBAL_DATA_PTR from i2c-uclass
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Fri, 13 Oct 2017 10:29:03 +0000
(19:29 +0900)
committer
Heiko 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
patch
|
blob
|
history
diff --git
a/drivers/i2c/i2c-uclass.c
b/drivers/i2c/i2c-uclass.c
index 1397f34dda0a6d6cf9d7a35eb2c2068e3d945611..920811a075c68454908129497db1809d4bd9ec72 100644
(file)
--- 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 */