projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c7859
)
rockchip: efuse: change to use dev_read_addr_ptr
author
Philipp Tomsich
<
[email protected]
>
Tue, 12 Sep 2017 15:32:26 +0000
(17:32 +0200)
committer
Philipp Tomsich
<
[email protected]
>
Mon, 18 Sep 2017 18:40:37 +0000
(20:40 +0200)
With the dev_read_addr_ptr function available, we can change the
efuse driver to use it (and eliminate the explicit type-cast).
Signed-off-by: Philipp Tomsich <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
drivers/misc/rockchip-efuse.c
patch
|
blob
|
history
diff --git
a/drivers/misc/rockchip-efuse.c
b/drivers/misc/rockchip-efuse.c
index 2e3bc9137ad0bf966d347e5b000f3f25a99e7b69..a2203bf37b730cf2a9c3925dc64e8a2cd9fa52b8 100644
(file)
--- a/
drivers/misc/rockchip-efuse.c
+++ b/
drivers/misc/rockchip-efuse.c
@@
-142,7
+142,7
@@
static int rockchip_efuse_ofdata_to_platdata(struct udevice *dev)
{
struct rockchip_efuse_platdata *plat = dev_get_platdata(dev);
- plat->base =
(void *)dev_read_add
r(dev);
+ plat->base =
dev_read_addr_pt
r(dev);
return 0;
}