Re: [PATCH v2 3/8] staging: iio: isl29018: fix multiline comment syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/10/16 08:19, Brian Masney wrote:
> Change multiline comments from:
> 
> /* line1
>  * line2
>  * ...
>  */
> 
> to
> 
> /*
>  * line1
>  * line2
>  * ...
>  */
> 
> Signed-off-by: Brian Masney <masneyb@xxxxxxxxxxxxx>
Applied to the togreg branch of iio.git and pushed out as testing.

Thanks,

Jonathan
> ---
>  drivers/staging/iio/light/isl29018.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
> index 130f222..132de8e 100644
> --- a/drivers/staging/iio/light/isl29018.c
> +++ b/drivers/staging/iio/light/isl29018.c
> @@ -564,7 +564,8 @@ static int isl29018_chip_init(struct isl29018_chip *chip)
>  			return status;
>  	}
>  
> -	/* Code added per Intersil Application Note 1534:
> +	/*
> +	 * Code added per Intersil Application Note 1534:
>  	 *     When VDD sinks to approximately 1.8V or below, some of
>  	 * the part's registers may change their state. When VDD
>  	 * recovers to 2.25V (or greater), the part may thus be in an
> @@ -591,7 +592,8 @@ static int isl29018_chip_init(struct isl29018_chip *chip)
>  		return status;
>  	}
>  
> -	/* See Intersil AN1534 comments above.
> +	/*
> +	 * See Intersil AN1534 comments above.
>  	 * "Operating Mode" (COMMAND1) register is reprogrammed when
>  	 * data is read from the device.
>  	 */
> @@ -773,7 +775,8 @@ static int isl29018_suspend(struct device *dev)
>  
>  	mutex_lock(&chip->lock);
>  
> -	/* Since this driver uses only polling commands, we are by default in
> +	/*
> +	 * Since this driver uses only polling commands, we are by default in
>  	 * auto shutdown (ie, power-down) mode.
>  	 * So we do not have much to do here.
>  	 */
> 

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux