fs/udf: re-use hex_asc_upper_{hi,lo} macros
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Jul 2014 12:35:30 +0000 (15:35 +0300)
committerJan Kara <jack@suse.cz>
Tue, 15 Jul 2014 20:40:24 +0000 (22:40 +0200)
commitc7ff48212d3ede34aa41842929a5b3ebf8f5ca4d
tree549a218291f73fd7335336b892ebef73b03c8bd6
parent2c15ac5bdb0009645f1f5962086021daa6b52d3f
fs/udf: re-use hex_asc_upper_{hi,lo} macros

This patch cleans up udf_translate_to_linux() a bit by using globally defined
macros instead of custom code.

We can use sprintf(buf, "%04X", ...) there as well, but this one faster.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/unicode.c