Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: sata_dwc_460ex: make debug messages neat

There is a duplication in the debug messages when accessing SCR registers.
Remove duplication to make the messages neat.

Tested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Andy Shevchenko and committed by
Tejun Heo
bb08ab6a d6ecf0c2

+4 -4
+4 -4
drivers/ata/sata_dwc_460ex.c
··· 414 414 } 415 415 416 416 *val = sata_dwc_readl(link->ap->ioaddr.scr_addr + (scr * 4)); 417 - dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n", 418 - __func__, link->ap->print_id, scr, *val); 417 + dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=0x%08x\n", __func__, 418 + link->ap->print_id, scr, *val); 419 419 420 420 return 0; 421 421 } 422 422 423 423 static int sata_dwc_scr_write(struct ata_link *link, unsigned int scr, u32 val) 424 424 { 425 - dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n", 426 - __func__, link->ap->print_id, scr, val); 425 + dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=0x%08x\n", __func__, 426 + link->ap->print_id, scr, val); 427 427 if (scr > SCR_NOTIFICATION) { 428 428 dev_err(link->ap->dev, "%s: Incorrect SCR offset 0x%02x\n", 429 429 __func__, scr);