diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-10-22 14:02:20 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-11-09 15:57:04 +0300 |
| commit | c6763b15c49edc4926a8c6cd8cd2f01d49134d74 (patch) | |
| tree | 3e3e0512c33a581901acdb39d5432bd6d47da742 /include/linux | |
| parent | 3ddda1db1514f3cb5efd1c95c35b24fd7e4ef7ff (diff) | |
| download | linux-c6763b15c49edc4926a8c6cd8cd2f01d49134d74.tar.xz | |
iio: imu: inv_icm45600: Add a missing return statement in probe()
The intention here was clearly to return -ENODEV but the return statement
was missing. It would result in an off by one read in i3c_chip_info[] on
the next line. Add the return statement.
Fixes: 1bef24e9007e ("iio: imu: inv_icm45600: add I3C driver for inv_icm45600 driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
