aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJagath Jog J <jagathjog1996@gmail.com>2022-05-05 19:00:13 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-11 14:35:26 +0100
commit1bd2dc6ea863690aee5c45ebf09c9194c7a42c0d (patch)
tree49afb02c42c071cea2ef15d30aaebe07327823f2
parentiio: accel: bma400: Fix the scale min and max macro values (diff)
downloadlinux-dev-1bd2dc6ea863690aee5c45ebf09c9194c7a42c0d.tar.xz
linux-dev-1bd2dc6ea863690aee5c45ebf09c9194c7a42c0d.zip
iio: accel: bma400: Reordering of header files
Reordering of header files and removing the iio/sysfs.h since custom attributes are not being used in the driver. Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220505133021.22362-3-jagathjog1996@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/accel/bma400_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/accel/bma400_core.c b/drivers/iio/accel/bma400_core.c
index 043002fe6f63..25ad1f7339bc 100644
--- a/drivers/iio/accel/bma400_core.c
+++ b/drivers/iio/accel/bma400_core.c
@@ -13,14 +13,14 @@
#include <linux/bitops.h>
#include <linux/device.h>
-#include <linux/iio/iio.h>
-#include <linux/iio/sysfs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
+#include <linux/iio/iio.h>
+
#include "bma400.h"
/*