aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2019-06-19 17:07:02 +0300
committerJonathan Cameron <[email protected]>2019-08-18 20:19:55 +0100
commit473d12f7638c93acbd9296a8cd455b203d5eb528 (patch)
treee49fa98f326dc0b69a34c7f37c4d77cfd430bd4d /lib/mpi/mpi-cmp.c
parent2715a28105c6b2cd75e2a594e45f8b57dde783f0 (diff)
iio: hid-sensor-attributes: 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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions