linux/drivers/iio/imu/st_lsm6dsx
Andy Shevchenko da83fd152e iio: imu: st_lsm6dsx: Remove useless dev_fwnode() calls
The device property APIs designed that way that they will return an error when
there is no valid fwnode provided. Moreover, the check for NULL of dev_fwnode()
is not fully correct as in some (currently rare) cases it may contain an error
pointer. This is not a problem anyway (see keyword 'valid' above) that's why
the code works properly even without this change.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://patch.msgid.link/20240826212344.866928-3-andy.shevchenko@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-09-03 18:49:44 +01:00
..
Kconfig iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
Makefile
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
st_lsm6dsx_core.c iio: imu: st_lsm6dsx: Remove useless dev_fwnode() calls 2024-09-03 18:49:44 +01:00
st_lsm6dsx_i2c.c iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
st_lsm6dsx_i3c.c iio: imu: lsm6dsx: Move exported symbols to the IIO_LSM6DSX namespace 2022-06-15 22:07:09 +01:00
st_lsm6dsx_shub.c iio: imu: st_lsm6dsx: fix naming of 'struct iio_info' in st_lsm6dsx_shub.c. 2023-01-21 18:17:25 +00:00
st_lsm6dsx_spi.c iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00