cris: kgdb: use native hex2bin
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Oct 2015 11:42:29 +0000 (14:42 +0300)
committerJesper Nilsson <jespern@axis.com>
Mon, 2 Nov 2015 19:03:04 +0000 (20:03 +0100)
commit4d0d39758d3e10a31e7f146d56760a92396feb85
treeff92670f49e587f3896cda79c4767d5df9cc6fea
parent6a13feb9c82803e2b815eca72fa7a9f5561d7861
cris: kgdb: use native hex2bin

There are kernel native helpers to convert hex ascii to the binary format:
hex_to_bin() and hex2bin(). Thus, no need to reimplement them customly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/arch-v10/kernel/kgdb.c
arch/cris/arch-v32/kernel/kgdb.c