]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92c9eb3ed8d0621879846ee09a149a586f93fbf7
tree5247707ab19c1f766b9fadb12adf06587fbcd8aa
parent0a74ed322f971dd58a6263f7ddfadfffd33c5689
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