aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJonathan Cameron2022-02-06 19:03:19 +0000
committerJonathan Cameron2022-02-21 19:33:05 +0000
commit65ba4ab6f018c08262af98e9e83c1ebbe5c7627c (patch)
treefec49af575d6bdd221d52d3e26ef633e23bd4caf /drivers
parentc5fe2f537b91e17c854135fdc0b46aa0f4f9db78 (diff)
staging:iio:adc:ad7280a: Cleanup includes
Drop used includes, add a few missing ones and reorder. The include-what-you-use tool output was considered in making this change. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com> Link: https://lore.kernel.org/r/20220206190328.333093-12-jic23@kernel.org
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/iio/adc/ad7280a.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c
index 2ba9379ce0a7..d408974c848c 100644
--- a/drivers/staging/iio/adc/ad7280a.c
+++ b/drivers/staging/iio/adc/ad7280a.c
@@ -5,21 +5,23 @@
* Copyright 2011 Analog Devices Inc.
*/
+#include <linux/bitfield.h>
+#include <linux/bits.h>
#include <linux/crc8.h>
+#include <linux/delay.h>
#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/interrupt.h>
#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/mod_devicetable.h>
+#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h>
-#include <linux/bitfield.h>
-#include <linux/err.h>
-#include <linux/delay.h>
-#include <linux/interrupt.h>
-#include <linux/module.h>
-#include <linux/iio/iio.h>
-#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
+#include <linux/iio/iio.h>
#include "ad7280a.h"