summaryrefslogtreecommitdiffstats
path: root/scripts/gen_autoksyms.sh
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-01-31 11:33:59 +0100
committerGuenter Roeck <linux@roeck-us.net>2023-02-03 07:30:11 -0800
commit1c999af509b3f834d3d65a90fb72860a6d6a8370 (patch)
treec3a775a1f417dc271a0ea24fc8a9b2db75bb7355 /scripts/gen_autoksyms.sh
parente1983220ae14ae7bdc8db4fb64e78bb55122c32b (diff)
downloadlinux-1c999af509b3f834d3d65a90fb72860a6d6a8370.tar.gz
linux-1c999af509b3f834d3d65a90fb72860a6d6a8370.tar.bz2
linux-1c999af509b3f834d3d65a90fb72860a6d6a8370.zip
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 'scripts/gen_autoksyms.sh')
0 files changed, 0 insertions, 0 deletions