aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-08-31 12:08:11 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-03 19:41:00 +0100
commitdf9f7d4c330d1ca3e124d73a137a7df32ca3ac33 (patch)
tree4b5285a80816c81a11467296d4eb2f95b43cbbb5 /drivers/iio/accel
parentiio: accel: bma220: Drop ACPI_PTR() and accompanying ifdeffery (diff)
downloadlinux-dev-df9f7d4c330d1ca3e124d73a137a7df32ca3ac33.tar.xz
linux-dev-df9f7d4c330d1ca3e124d73a137a7df32ca3ac33.zip
iio: accel: bma220: Group IIO headers together
Group IIO headers together and follow the common pattern of header inclusion, i.e. more generic first. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200831090813.78841-6-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/bma220_spi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/accel/bma220_spi.c b/drivers/iio/accel/bma220_spi.c
index 044902ac8e29..73927f9c9b01 100644
--- a/drivers/iio/accel/bma220_spi.c
+++ b/drivers/iio/accel/bma220_spi.c
@@ -8,10 +8,11 @@
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
+#include <linux/spi/spi.h>
+
#include <linux/iio/buffer.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
-#include <linux/spi/spi.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.h>