]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: imu: st_lsm9ds0: Replace device.h with what is needed
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 12 Feb 2025 06:25:04 +0000 (11:55 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2025 10:08:52 +0000 (12:08 +0200)
commit99e297cdd338b8a18c986ed4e088676579b7fe96
treeaf8d873a40de678cbcbd03125e4b0f6679fcd180
parenta21cad9312767d26b5257ce0662699bb202cdda1
iio: imu: st_lsm9ds0: Replace device.h with what is needed

Instead of including a huge device.h with tons of dependencies
include only what driver actually uses.

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c