mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
iio: resolver: ad2s1200: use dev_err_probe()
Use dev_err_probe() instead of dev_err() to simplify the error path and cleanly handle deferred probing. Signed-off-by: Vojtěch Krátký <vo.kratky@seznam.cz> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
This commit is contained in:
parent
298b0f9c0e
commit
a1c5ca7b80
1 changed files with 6 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue