summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-02-03 17:59:20 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-06 15:28:02 +0000
commit889bdfc336392b904f7da441908d833556eaf438 (patch)
treed65d81fd9e15ac45f1a0a999409c95e5f92561e7 /drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
parent1ef6ff6ef8d581ceb1512581f47be3f99f4f8571 (diff)
iio: imu: inv_mpu6050: Make use of device properties
Convert the module to be property provider agnostic and allow it to be used on non-OF platforms. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220203155920.18586-3-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c')
-rw-r--r--drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
index 44b4f74b9256..26a7c2521dc4 100644
--- a/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
+++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
@@ -4,7 +4,6 @@
*/
#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of.h>
#include <linux/property.h>
#include <linux/spi/spi.h>
#include <linux/regmap.h>