diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-01-30 13:03:36 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-31 21:01:56 +0000 |
commit | 46dccc3573bc69e13fb5ea3d14dea2e940b3a1a9 (patch) | |
tree | c7c0596a03a4798f1aa58e1316942a6338f91883 /lib/kobject_uevent.c | |
parent | a5de5b74a50113564a1e0850e2da96c37c35e55d (diff) | |
download | linux-46dccc3573bc69e13fb5ea3d14dea2e940b3a1a9.tar.bz2 |
ASoC: qcom: lpass-cpu: Remove unnecessary clock checks
Clean up the clock calling code by removing numerous IS_ERR() checks by
just assigning the clock NULL; as this turn all used functions in the
clk API to nops.
Also include the word "optional" in the error message when failing to acquire
the optional osr clocks.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions