blk: Use macros for block device vendor/product/rev string size
authorBin Meng <bmeng.cn@gmail.com>
Sun, 10 Sep 2017 12:12:50 +0000 (05:12 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 10 Sep 2017 16:27:32 +0000 (12:27 -0400)
commiteb81b1a4d3f996072e08b790018edd750210a8c1
tree55ca7fbb9c0d4492315dab5f6914c5f7fb832c5d
parent4ccceefb7f0bbbcde849a1886dfb0c45cc2c746e
blk: Use macros for block device vendor/product/rev string size

So far these are using magic numbers. Replace them with macros.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/blk.h