commit | 4d6aef2f2eaabf4512321341439023e042633aba | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Wed Aug 26 17:32:33 2020 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 04 17:57:15 2020 +1000 |
tree | a69e595982fe9e08d1715acc7dfe79ce02c92aa5 | |
parent | d08d387b7377d316bb15d43e025137836cf9bc91 [diff] |
hwrng: cctrn - Simplify with dev_err_probe() Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and also it prints the error value. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Hadar Gat <hadar.gat@arm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>