tcm_fc: remove custom hex_to_bin in ft_parse_wwn
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 30 Sep 2011 11:45:40 +0000 (14:45 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:20:49 +0000 (03:20 +0000)
commit635a2b3f3e561278cb5b837ea305e50e3fa7f063
tree5247707ab19c1f766b9fadb12adf06587fbcd8aa
parentf2b56afd406b455fba339a35f43bfc4ada198073
tcm_fc: remove custom hex_to_bin in ft_parse_wwn

This patch converts ft_parse_wwn() to use hex_to_bin() instead of custom
conversion code.

(Andy: Re-add missing strict && isupper(c) check)

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_conf.c