Message ID | 20230929-ad2s1210-mainline-v3-6-fa4364281745@baylibre.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: resolver: move ad2s1210 out of staging | expand |
On Fri, 29 Sep 2023 12:23:11 -0500 David Lechner <dlechner@baylibre.com> wrote: > From: David Lechner <david@lechnology.com> > > From: David Lechner <dlechner@baylibre.com> > > There are quite a few imports and we will be adding more so it will > make it easier to read if they are sorted. > > Signed-off-by: David Lechner <dlechner@baylibre.com> Applied > --- > > v3 changes: > * This is a new patch split out from "staging: iio: resolver: ad2s1210: > use devicetree to get fclkin" > > drivers/staging/iio/resolver/ad2s1210.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/staging/iio/resolver/ad2s1210.c > index 28015322f562..832f86bf15e5 100644 > --- a/drivers/staging/iio/resolver/ad2s1210.c > +++ b/drivers/staging/iio/resolver/ad2s1210.c > @@ -4,16 +4,16 @@ > * > * Copyright (c) 2010-2010 Analog Devices Inc. > */ > -#include <linux/types.h> > -#include <linux/mutex.h> > +#include <linux/delay.h> > #include <linux/device.h> > +#include <linux/gpio/consumer.h> > +#include <linux/module.h> > +#include <linux/mutex.h> > #include <linux/of.h> > -#include <linux/spi/spi.h> > #include <linux/slab.h> > +#include <linux/spi/spi.h> > #include <linux/sysfs.h> > -#include <linux/delay.h> > -#include <linux/gpio/consumer.h> > -#include <linux/module.h> > +#include <linux/types.h> > > #include <linux/iio/iio.h> > #include <linux/iio/sysfs.h> >
diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/staging/iio/resolver/ad2s1210.c index 28015322f562..832f86bf15e5 100644 --- a/drivers/staging/iio/resolver/ad2s1210.c +++ b/drivers/staging/iio/resolver/ad2s1210.c @@ -4,16 +4,16 @@ * * Copyright (c) 2010-2010 Analog Devices Inc. */ -#include <linux/types.h> -#include <linux/mutex.h> +#include <linux/delay.h> #include <linux/device.h> +#include <linux/gpio/consumer.h> +#include <linux/module.h> +#include <linux/mutex.h> #include <linux/of.h> -#include <linux/spi/spi.h> #include <linux/slab.h> +#include <linux/spi/spi.h> #include <linux/sysfs.h> -#include <linux/delay.h> -#include <linux/gpio/consumer.h> -#include <linux/module.h> +#include <linux/types.h> #include <linux/iio/iio.h> #include <linux/iio/sysfs.h>