PM: opp: simplify with dev_err_probe()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 8 Apr 2022 11:10:52 +0000 (13:10 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 11 Apr 2022 02:53:21 +0000 (08:23 +0530)
commit543256d239b4156bf5817049fb92138f6661f15f
tree62b67daad5b9b6454db3be2335be2ff0a5da38e6
parent907ed123b9d096c73e9361f6cd4097f0691497f2
PM: opp: simplify with dev_err_probe()

Common pattern of handling deferred probe can be simplified with
dev_err_probe().  Less code and the error value gets printed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c