commit | c52d270c68a02f94c5c081b7fc57119058e4670a | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Sun Aug 30 10:09:37 2020 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Sep 15 10:42:36 2020 +0200 |
tree | 6d310d791794a5347c86c7d51b98c0dc6b0ca780 | |
parent | 0d982de3e27e8091dfa62368cd3eefbc7c17c8a2 [diff] |
rtc: s3c: 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> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200830080937.14367-1-krzk@kernel.org