[PATCH v2 0/3] Return immediately if sprd_clk_regmap_init() fails

2019-05-21 Thread Chunyan Zhang
The function sprd_clk_regmap_init() doesn't always return success, drivers should return immediately when it fails rather than continue the clock initialization. The patch 1/3 in this set switchs to use devm_ioremap_resources() instead of of_iomap(), that will make caller programs more simple.

[PATCH v2 0/3] Return immediately if sprd_clk_regmap_init() fails

2019-05-21 Thread Chunyan Zhang
The function sprd_clk_regmap_init() doesn't always return success, drivers should return immediately when it fails ranther than continue the clock initialization. The patch 1/3 in this set switchs to use devm_ioremap_resources() instead of of_iomap(), that will make caller programs more simple.