From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Based on consideration of the output of the include-what-you-use tool. Drop unused includes and add some that should be there. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> --- drivers/staging/iio/resolver/ad2s1210.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/staging/iio/resolver/ad2s1210.c index 74adb82f37c3..99dec73144ba 100644 --- a/drivers/staging/iio/resolver/ad2s1210.c +++ b/drivers/staging/iio/resolver/ad2s1210.c @@ -4,15 +4,16 @@ * * Copyright (c) 2010-2010 Analog Devices Inc. */ +#include <linux/kernel.h> #include <linux/types.h> #include <linux/mutex.h> #include <linux/device.h> #include <linux/spi/spi.h> -#include <linux/slab.h> #include <linux/sysfs.h> -#include <linux/delay.h> #include <linux/gpio/consumer.h> #include <linux/module.h> +#include <linux/mod_devicetable.h> +#include <linux/of.h> #include <linux/iio/iio.h> #include <linux/iio/sysfs.h> -- 2.31.1