diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:47:46 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-09-24 09:18:11 +0200 |
commit | 793bb636f549da85d1fe68228428e5e11d7db22e (patch) | |
tree | 635c6a19fe3bdb44f3487a1602e2c98ea5ece9bb /ipc/ipc_sysctl.c | |
parent | 5530fcaf9ca30b85cfe03c6fb98ec1b1ea189e6d (diff) | |
download | lwn-793bb636f549da85d1fe68228428e5e11d7db22e.tar.gz lwn-793bb636f549da85d1fe68228428e5e11d7db22e.zip |
pwm: sprd: 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: Chunyan Zhang <zhang.lyra@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions