diff options
| author | 2024-08-27 00:22:40 +0300 | |
|---|---|---|
| committer | 2024-09-03 18:49:44 +0100 | |
| commit | da83fd152e544c2222b2e098a3ce0f704617eb24 (patch) | |
| tree | 2e4db4760df311ae34f2bf7d694a7c3a070fc980 /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | iio: imu: st_lsm6dsx: Use iio_read_acpi_mount_matrix() helper (diff) | |
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>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
