diff options
author | Chunyan Zhang <zhang.chunyan@linaro.org> | 2019-05-22 09:15:01 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-06-26 11:12:50 -0700 |
commit | 69b39d2503af55e3a2ac3130c95855ac185bb70d (patch) | |
tree | 8fbce83b1fa0c2d46586bfad3ca077ff90d45510 /lib/xz | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
clk: sprd: Switch from of_iomap() to devm_ioremap_resource()
devm_ioremap_resources() automatically requests resources and devm_ wrappers
do better error handling and unmapping of the I/O region when needed,
that would make drivers more clean and simple.
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions