diff options
| author | Andy Shevchenko <[email protected]> | 2019-06-19 17:07:02 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-08-18 20:19:55 +0100 |
| commit | 473d12f7638c93acbd9296a8cd455b203d5eb528 (patch) | |
| tree | e49fa98f326dc0b69a34c7f37c4d77cfd430bd4d /lib/mpi/mpi-cmp.c | |
| parent | 2715a28105c6b2cd75e2a594e45f8b57dde783f0 (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