summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/aquacomputer_d5next.rst
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-01-31 13:33:59 +0300
committerGuenter Roeck <linux@roeck-us.net>2023-02-03 18:30:11 +0300
commit1c999af509b3f834d3d65a90fb72860a6d6a8370 (patch)
treec3a775a1f417dc271a0ea24fc8a9b2db75bb7355 /Documentation/hwmon/aquacomputer_d5next.rst
parente1983220ae14ae7bdc8db4fb64e78bb55122c32b (diff)
downloadlinux-1c999af509b3f834d3d65a90fb72860a6d6a8370.tar.xz
hwmon: (iio_hwmon) use dev_err_probe
Instead of just returning an error code, add an error message as well. While at it, simplify the code and use a common return path. Upon deferral this also nicely lists the following message in /sys/kernel/debug/devices_deferred: adc iio_hwmon: Failed to get channels Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Link: https://lore.kernel.org/r/20230131103359.625081-1-alexander.stein@ew.tq-group.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/aquacomputer_d5next.rst')
0 files changed, 0 insertions, 0 deletions