summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Stols <gstols@baylibre.com>2024-10-04 21:48:39 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-05 12:25:21 +0100
commit1276d269fe8a3a7defbcd84a41877600e4f1caae (patch)
treeb56f8f7e7cfb6f1e66413dc4db1ada6e3942713c
parentafdc595666be01ff0b22559f25123cf430f3e705 (diff)
iio: adc: ad7606: Sort includes in alphabetical order
Some of the includes were not in alphabetical order, this commit fixes it. Signed-off-by: Guillaume Stols <gstols@baylibre.com> Link: https://patch.msgid.link/20241004-ad7606_add_iio_backend_support-v3-5-38757012ce82@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/ad7606.c2
-rw-r--r--drivers/iio/adc/ad7606_par.c6
-rw-r--r--drivers/iio/adc/ad7606_spi.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iio/adc/ad7606.c b/drivers/iio/adc/ad7606.c
index e8da44d8e0ae..71362eafe838 100644
--- a/drivers/iio/adc/ad7606.c
+++ b/drivers/iio/adc/ad7606.c
@@ -19,8 +19,8 @@
#include <linux/sysfs.h>
#include <linux/util_macros.h>
-#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
+#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/trigger.h>
#include <linux/iio/triggered_buffer.h>
diff --git a/drivers/iio/adc/ad7606_par.c b/drivers/iio/adc/ad7606_par.c
index 02d8c309304e..d651639c45eb 100644
--- a/drivers/iio/adc/ad7606_par.c
+++ b/drivers/iio/adc/ad7606_par.c
@@ -5,13 +5,13 @@
* Copyright 2011 Analog Devices Inc.
*/
+#include <linux/err.h>
+#include <linux/gpio/consumer.h>
+#include <linux/io.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/gpio/consumer.h>
#include <linux/platform_device.h>
#include <linux/types.h>
-#include <linux/err.h>
-#include <linux/io.h>
#include <linux/iio/iio.h>
#include "ad7606.h"
diff --git a/drivers/iio/adc/ad7606_spi.c b/drivers/iio/adc/ad7606_spi.c
index 143440e73aab..d12e55123888 100644
--- a/drivers/iio/adc/ad7606_spi.c
+++ b/drivers/iio/adc/ad7606_spi.c
@@ -5,10 +5,10 @@
* Copyright 2011 Analog Devices Inc.
*/
+#include <linux/err.h>
#include <linux/module.h>
#include <linux/spi/spi.h>
#include <linux/types.h>
-#include <linux/err.h>
#include <linux/iio/iio.h>
#include "ad7606.h"