[PATCH] staging: sm750fb: use tabs for indentation

Dan Carpenter dan.carpenter at oracle.com
Mon Jun 22 17:46:02 UTC 2015


On Fri, Jun 19, 2015 at 05:50:50PM -0700, Juston Li wrote:
>  void sii164ClearInterrupt(void)
>  {
> -    unsigned char detectReg;
> +	unsigned char detectReg;
>  
> -    /* Clear the MDI interrupt */
> -    detectReg = i2cReadReg(SII164_I2C_ADDRESS, SII164_DETECT);
> -    i2cWriteReg(SII164_I2C_ADDRESS, SII164_DETECT, detectReg | SII164_DETECT_MONITOR_STATE_CLEAR);

The patch accidentally deletes this write.

> +	/* Clear the MDI interrupt */
> +	detectReg = i2cReadReg(SII164_I2C_ADDRESS, SII164_DETECT);
>  }

regards,
dan carpenter


More information about the devel mailing list