Commit 543256d
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>1 parent 907ed12 commit 543256d
1 file changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2019 | 2019 | | |
2020 | 2020 | | |
2021 | 2021 | | |
2022 | | - | |
2023 | | - | |
2024 | | - | |
2025 | | - | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
2026 | 2025 | | |
2027 | 2026 | | |
2028 | 2027 | | |
| |||
2168 | 2167 | | |
2169 | 2168 | | |
2170 | 2169 | | |
2171 | | - | |
2172 | | - | |
2173 | | - | |
2174 | | - | |
2175 | | - | |
| 2170 | + | |
| 2171 | + | |
2176 | 2172 | | |
2177 | 2173 | | |
2178 | 2174 | | |
| |||
0 commit comments