md: Convert to use int_pow()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Jul 2019 20:41:55 +0000 (23:41 +0300)
committerSong Liu <songliubraving@fb.com>
Wed, 7 Aug 2019 17:25:02 +0000 (10:25 -0700)
commitcf89160793c439dca00e2563d0b7f153c274027b
treef8ec97a9952d2ffe4346772fa79abde4256f1721
parent7cee6d4e6035603d42acd56d591e624921aa1b14
md: Convert to use int_pow()

Instead of linear approach to calculate power of 10, use generic int_pow()
which does it better.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/md.c