commit | c974c48deeb969c5e4250e4f06af91edd84b1f10 | [log] [tgz] |
---|---|---|
author | Chunyan Zhang <zhang.chunyan@linaro.org> | Wed May 22 09:15:03 2019 +0800 |
committer | Stephen Boyd <sboyd@kernel.org> | Thu Jun 27 15:08:29 2019 -0700 |
tree | e49a4e150cfd2a858a08d842a33414718016afc6 | |
parent | 78f529695182b980a5183b850fe2d87091e36874 [diff] |
clk: sprd: Add check for return value of sprd_clk_regmap_init() sprd_clk_regmap_init() doesn't always return success, adding check for its return value should make the code more strong. Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org> Reviewed-by: Baolin Wang <baolin.wang@linaro.org> [sboyd@kernel.org: Add a missing int ret] Signed-off-by: Stephen Boyd <sboyd@kernel.org>