diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-01 18:31:41 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-10-14 16:02:25 +0300 |
commit | d342951bcda6cd190309138385d5935ab1d08f92 (patch) | |
tree | 0e9e0d7c2fe04be35943b43e8bbc2e74d6048986 /sound/core | |
parent | fc77204001d085050564bd6bd064e5cd51de2527 (diff) | |
download | linux-d342951bcda6cd190309138385d5935ab1d08f92.tar.xz |
watchdog: rti: 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-3-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 'sound/core')
0 files changed, 0 insertions, 0 deletions