rockchip: efuse: change to use dev_read_addr_ptr
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 12 Sep 2017 15:32:26 +0000 (17:32 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 18 Sep 2017 18:40:37 +0000 (20:40 +0200)
commitf6230a00579d5ca5ba01ca158f5c369cf64e87eb
tree4f27020e84c59dec64a20a6823f3bbbd6a988454
parent75c7859803a334a41c8bdf0a31cd1cd61f579076
rockchip: efuse: change to use dev_read_addr_ptr

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 <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/misc/rockchip-efuse.c