summaryrefslogtreecommitdiff
path: root/include/uapi/linux/patchkey.h
diff options
context:
space:
mode:
authorFrancesco Lavra <flavra@baylibre.com>2025-11-28 18:21:38 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-12-21 11:14:10 +0000
commit4ff39d6de4bf359ec6d5cd2be34b36d077dd0a07 (patch)
tree7de7e6b7f40e3dac4ad43e69ad455a1e960565a1 /include/uapi/linux/patchkey.h
parentc34e2e2d67b3bb8d5a6d09b0d6dac845cdd13fb3 (diff)
iio: accel: adxl380: fix handling of unavailable "INT1" interrupt
fwnode_irq_get_byname() returns a negative value on failure; if a negative value is returned, use it as `err` argument for dev_err_probe(). While at it, add a missing trailing newline to the dev_err_probe() error message. Fixes: df36de13677a ("iio: accel: add ADXL380 driver") Signed-off-by: Francesco Lavra <flavra@baylibre.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/uapi/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions