summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-09-02 22:36:53 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2020-09-07 10:16:31 +0300
commitb41123f4f57df6950f3316948989783bbdefa7e2 (patch)
tree7552a3e76520902e513146b5d507a4afd2bf43f5 /scripts
parentb5f9a2c686d91ad5a97ee4a5be9ae1e6da8d4789 (diff)
downloadlinux-b41123f4f57df6950f3316948989783bbdefa7e2.tar.xz
mmc: sdhci-brcmstb: Simplify with optional clock and dev_err_probe()
Only -ENOENT from devm_clk_get() means that clock is not present in device tree. Other errors have their own meaning and should not be ignored. Simplify getting the clock which is in fact optional and also use dev_err_probe() for handling deferred. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20200902193658.20539-7-krzk@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions