Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606990

Re: [PATCH 2/2] staging: ade7754: Clean up #includes

From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] staging: ade7754: Clean up #includes
Date 2017-03-22 21:30 +0100
Message-ID <tnV3k-89A-19@gated-at.bofh.it> (permalink)
References <tn7pT-6E2-1@gated-at.bofh.it> <tn7pU-6E2-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 20/03/17 15:15, simran singhal wrote:
> Alphabetize and separate kernel and subsystem headers.
> 
> Signed-off-by: simran singhal <singhalsimran0@gmail.com>
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/meter/ade7754.c | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/staging/iio/meter/ade7754.c b/drivers/staging/iio/meter/ade7754.c
> index 42f7b06..fea93d7 100644
> --- a/drivers/staging/iio/meter/ade7754.c
> +++ b/drivers/staging/iio/meter/ade7754.c
> @@ -6,18 +6,17 @@
>   * Licensed under the GPL-2 or later.
>   */
>  
> -#include <linux/interrupt.h>
> -#include <linux/irq.h>
>  #include <linux/delay.h>
> -#include <linux/mutex.h>
>  #include <linux/device.h>
> +#include <linux/interrupt.h>
> +#include <linux/irq.h>
>  #include <linux/kernel.h>
> +#include <linux/list.h>
> +#include <linux/module.h>
> +#include <linux/mutex.h>
>  #include <linux/spi/spi.h>
>  #include <linux/slab.h>
>  #include <linux/sysfs.h>
> -#include <linux/list.h>
> -#include <linux/module.h>
> -
>  #include <linux/iio/iio.h>
>  #include <linux/iio/sysfs.h>
>  #include "meter.h"
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] staging: iio: ade7754: Header file maintenance simran singhal <singhalsimran0@gmail.com> - 2017-03-20 16:30 +0100
  [PATCH 2/2] staging: ade7754: Clean up #includes simran singhal <singhalsimran0@gmail.com> - 2017-03-20 16:30 +0100
    Re: [PATCH 2/2] staging: ade7754: Clean up #includes Jonathan Cameron <jic23@kernel.org> - 2017-03-22 21:30 +0100
  [PATCH 1/2] staging: ade7754: Move header content to implementation file simran singhal <singhalsimran0@gmail.com> - 2017-03-20 16:50 +0100
    Re: [PATCH 1/2] staging: ade7754: Move header content to  implementation file Jonathan Cameron <jic23@kernel.org> - 2017-03-22 21:30 +0100

csiph-web