Re: [PATCH 01/11] Staging: iio: accel: Prefer alphabetical sequence of header files

From: Jonathan Cameron
Date: Wed Mar 07 2018 - 15:30:07 EST


On Mon, 5 Mar 2018 13:19:20 +0530
Himanshu Jha <himanshujha199640@xxxxxxxxx> wrote:

> Arrange header files in alphabetical sequence to improve readability.
>
> Signed-off-by: Himanshu Jha <himanshujha199640@xxxxxxxxx>
One general comment - when naming a patch it will form the description
in the git short log or on the various web interfaces etc. It's
really useful to actually say which driver it is.

I've fixed that up by adding adis16201: in the appropriate place.

Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to play with it.

Thanks,

Jonathan

> ---
> drivers/staging/iio/accel/adis16201.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/iio/accel/adis16201.c b/drivers/staging/iio/accel/adis16201.c
> index 2ebd275..0f6a204 100644
> --- a/drivers/staging/iio/accel/adis16201.c
> +++ b/drivers/staging/iio/accel/adis16201.c
> @@ -7,13 +7,13 @@
> */
>
> #include <linux/delay.h>
> -#include <linux/mutex.h>
> #include <linux/device.h>
> #include <linux/kernel.h>
> -#include <linux/spi/spi.h>
> +#include <linux/module.h>
> +#include <linux/mutex.h>
> #include <linux/slab.h>
> +#include <linux/spi/spi.h>
> #include <linux/sysfs.h>
> -#include <linux/module.h>
>
> #include <linux/iio/iio.h>
> #include <linux/iio/sysfs.h>