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>
This commit is contained in:
Andy Shevchenko 2019-07-23 23:41:55 +03:00 • committed by Song Liu
commit cf89160793