scsi: libsas: remove private hex2bin() implementation
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Dec 2017 17:37:27 +0000 (19:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 03:40:52 +0000 (22:40 -0500)
commit9ea4e076bda3654fd8458cb9c45162581bc24798
treebda7166317fd02cc34abffc601d9e2c6cfd37883
parentd754941225a7dbc61f6dd2173fa9498049f9a7ee
scsi: libsas: remove private hex2bin() implementation

The function sas_parse_addr() could be easily substituted by hex2bin()
which is in kernel library code.

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_scsi_host.c