RDMA/nes: replace custom print_hex_dump()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 6 May 2016 17:19:42 +0000 (20:19 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:40:01 +0000 (19:40 -0400)
commitfaca88273b68b71a15749e04037a4d7ee98fff2d
tree16ed1f6fc803daeb692929b1c1db4dd2e4f388be
parentaa70345369e251779c0372ef6dd2bd6325a3350c
RDMA/nes: replace custom print_hex_dump()

There is no need to duplicate a lot of code that is in the kernel library for ages.
Replace duplicating code by calling to print_hex_dump() directly.

Note that output is slightly changed:
- hex and ascii parts have just two spaces delimeter
- there is no delimeter for ascii portions
- file and line removed from prefix (they were redundant anyway since previous
  output shows same closer enough)

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/nes/nes_utils.c