Skip to content

Commit

Permalink
USB: io_ti.c: remove pointless eye-candy in debug statements
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Greg Kroah-Hartman committed Apr 25, 2008
1 parent 4208978 commit 9544e83
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions drivers/usb/serial/io_ti.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,12 +1086,11 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
if (serial->product_info.TiMode == TI_MODE_DOWNLOAD) {
struct ti_i2c_desc *rom_desc;

dbg ("%s - <<<<<<<<<<<<<<<RUNNING IN DOWNLOAD MODE>>>>>>>>>>", __FUNCTION__);
dbg("%s - RUNNING IN DOWNLOAD MODE", __func__);

status = TiValidateI2cImage (serial);
if (status) {
dbg ("%s - <<<<<<<<<<<<<<<DOWNLOAD MODE -- BAD I2C >>>>>>>>>>",
__FUNCTION__);
dbg("%s - DOWNLOAD MODE -- BAD I2C", __func__);
return status;
}

Expand Down Expand Up @@ -1345,8 +1344,7 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
/********************************************************************/
/* Boot Mode */
/********************************************************************/
dbg ("%s - <<<<<<<<<<<<<<<RUNNING IN BOOT MODE>>>>>>>>>>>>>>>",
__FUNCTION__);
dbg("%s - RUNNING IN BOOT MODE", __func__);

// Configure the TI device so we can use the BULK pipes for download
status = TIConfigureBootDevice (serial->serial->dev);
Expand Down Expand Up @@ -1461,7 +1459,7 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)

StayInBootMode:
// 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;

return 0;
Expand Down

0 comments on commit 9544e83

Please sign in to comment.