summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/bma220_spi.c
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/bma220_spi.c
parent846afc1dbcbf878b3c8e685910ad6ce90d79de4b (diff)
downloadlinux-df9f7d4c330d1ca3e124d73a137a7df32ca3ac33.tar.bz2
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/bma220_spi.c')
-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>