mirror of https://gitee.com/openkylin/linux.git
USB: io_ti.c: remove pointless eye-candy in debug statements
These strings always come up as false positives whenever I'm doing git-conflict fixups (ie: about 1000 times/day). I don't think the zillion "<" and ">" characters are very useful and removing them makes my life that little bit easier. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4208978ec4
commit
9544e833f9
|
@ -1086,12 +1086,11 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
|
||||||
if (serial->product_info.TiMode == TI_MODE_DOWNLOAD) {
|
if (serial->product_info.TiMode == TI_MODE_DOWNLOAD) {
|
||||||
struct ti_i2c_desc *rom_desc;
|
struct ti_i2c_desc *rom_desc;
|
||||||
|
|
||||||
dbg ("%s - <<<<<<<<<<<<<<<RUNNING IN DOWNLOAD MODE>>>>>>>>>>", __FUNCTION__);
|
dbg("%s - RUNNING IN DOWNLOAD MODE", __func__);
|
||||||
|
|
||||||
status = TiValidateI2cImage (serial);
|
status = TiValidateI2cImage (serial);
|
||||||
if (status) {
|
if (status) {
|
||||||
dbg ("%s - <<<<<<<<<<<<<<<DOWNLOAD MODE -- BAD I2C >>>>>>>>>>",
|
dbg("%s - DOWNLOAD MODE -- BAD I2C", __func__);
|
||||||
__FUNCTION__);
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1345,8 +1344,7 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
|
||||||
/********************************************************************/
|
/********************************************************************/
|
||||||
/* Boot Mode */
|
/* Boot Mode */
|
||||||
/********************************************************************/
|
/********************************************************************/
|
||||||
dbg ("%s - <<<<<<<<<<<<<<<RUNNING IN BOOT MODE>>>>>>>>>>>>>>>",
|
dbg("%s - RUNNING IN BOOT MODE", __func__);
|
||||||
__FUNCTION__);
|
|
||||||
|
|
||||||
// Configure the TI device so we can use the BULK pipes for download
|
// Configure the TI device so we can use the BULK pipes for download
|
||||||
status = TIConfigureBootDevice (serial->serial->dev);
|
status = TIConfigureBootDevice (serial->serial->dev);
|
||||||
|
@ -1461,7 +1459,7 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
|
||||||
|
|
||||||
StayInBootMode:
|
StayInBootMode:
|
||||||
// Eprom is invalid or blank stay in boot mode
|
// Eprom is invalid or blank stay in boot mode
|
||||||
dbg ("%s - <<<<<<<<<<<<<<<STAYING IN BOOT MODE>>>>>>>>>>>>", __FUNCTION__);
|
dbg("%s - STAYING IN BOOT MODE", __func__);
|
||||||
serial->product_info.TiMode = TI_MODE_BOOT;
|
serial->product_info.TiMode = TI_MODE_BOOT;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue