diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-07 23:59:57 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-08 23:53:00 -0700 |
commit | 94c51f4073260e775fa404a45ac7f7adea590d0a (patch) | |
tree | 2f241c0006a428c518d32dbb65011bbfe8418585 /drivers/cpufreq/e_powersaver.c | |
parent | 0829ea5af6d3338c3c5ad0bd377d75a30d6ffc8b (diff) | |
download | blackbird-op-linux-94c51f4073260e775fa404a45ac7f7adea590d0a.tar.gz blackbird-op-linux-94c51f4073260e775fa404a45ac7f7adea590d0a.zip |
qcom: clk: Make qcom_cc_probe() fully devm safe
Some APIs in qcom_cc_probe() don't have a devm counterpart, so we
have to use the calling device's platform data to pass pointers
to the remove path. Let's use devm_add_action() instead, so that
the remove path doesn't need to do anything, allowing us to
remove qcom_cc_remove() entirely.
Cc: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/cpufreq/e_powersaver.c')
0 files changed, 0 insertions, 0 deletions