commit | 69b39d2503af55e3a2ac3130c95855ac185bb70d | [log] [tgz] |
---|---|---|
author | Chunyan Zhang <zhang.chunyan@linaro.org> | Wed May 22 09:15:01 2019 +0800 |
committer | Stephen Boyd <sboyd@kernel.org> | Wed Jun 26 11:12:50 2019 -0700 |
tree | 8fbce83b1fa0c2d46586bfad3ca077ff90d45510 | |
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>