diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-01 18:31:39 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-10-14 16:02:24 +0300 |
commit | dab1122159a5e7be58e5f64099a8fe7d82ed834f (patch) | |
tree | e08f51948378bfb71967a382fdb87dbe7d7a81ad /drivers/ipack | |
parent | 2c904630e9b18c58a2261193e6d85a3d79d87033 (diff) | |
download | linux-dab1122159a5e7be58e5f64099a8fe7d82ed834f.tar.xz |
watchdog: cadence: 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 <krzk@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200901153141.18960-1-krzk@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions