RE: [PATCH 3/3] i2c: imx: whitespace and checkpatch cleanup

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

 



From: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
Sent: Tuesday, January 06, 2015 10:48 PM
> To: Wolfram Sang
> Cc: linux-i2c@xxxxxxxxxxxxxxx; Duan Fugang-B38611; Yuan Yao-B46683;
> Estevam Fabio-R49496; kernel@xxxxxxxxxxxxxx; Philipp Zabel
> Subject: [PATCH 3/3] i2c: imx: whitespace and checkpatch cleanup
> 
> This patch fixes up some whitespace issues and addresses a few checkpatch
> warnings.
> 
> Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
> ---
>  drivers/i2c/busses/i2c-imx.c | 53 ++++++++++++++++++++++++++------------
> ------
>  1 file changed, 32 insertions(+), 21 deletions(-)

[snip]
>  		if (i == (msgs->len - 1)) {
>  			if (is_lastmsg) {
>  				/*
> -				 * It must generate STOP before read I2DR to
> prevent
> -				 * controller from generating another clock cycle
> +				 * It must generate STOP before read I2DR to
> +				 * prevent controller from generating another
> +				 * clock cycle
>  				 */

It is better for the format:
	/* It must generate STOP before read I2DR to
	 * prevent controller from generating another
	 * clock cycle
	 */

Regards,
Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux