Home
last modified time | relevance | path

Searched hist:"69 b39d25" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/sprd/
H A Dcommon.c69b39d25 Tue May 21 20:15:01 CDT 2019 Chunyan Zhang <zhang.chunyan@linaro.org> 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>
69b39d25 Tue May 21 20:15:01 CDT 2019 Chunyan Zhang <zhang.chunyan@linaro.org> 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>