stmmac: remove custom implementation of print_hex_dump()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 7 Nov 2014 14:53:12 +0000 (16:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Nov 2014 17:20:43 +0000 (12:20 -0500)
commit424c4f7875ee21e803f6ebeb8799b6185eda7864
tree57053dedac0c9108b2c16a34ae873b74da75017a
parent7f6d46704fe0895f33b81552244344422c1c647c
stmmac: remove custom implementation of print_hex_dump()

There is a kernel helper to dump buffers in a hexdecimal format. This patch
substitutes the open coded function by calling that helper.

The output is slightly changed:
 - no lead space
 - ASCII part will be printed along with the dump
 - offset is longer than 3 characters (now 8)

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c