]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: common: check for failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 23 Dec 2015 12:27:20 +0000 (17:57 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 9 Feb 2016 01:06:43 +0000 (17:06 -0800)
commit8f31c6adb3b46bf1c3881383ceb750202a133845
tree88a23286f66a0414bc35dc179fb33c38096271f6
parent3e615e7212ddb424441a0990a38ad1ea9aebc6af
clk: qcom: common: check for failure

We were not checking the return from devm_add_action() which can fail.
Start using the helper and devm_add_action_or_reset() and return
directly as we know that the cleanup has been done by this helper.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/common.c