diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-06-19 17:07:02 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-08-18 20:19:55 +0100 |
commit | 473d12f7638c93acbd9296a8cd455b203d5eb528 (patch) | |
tree | e49fa98f326dc0b69a34c7f37c4d77cfd430bd4d /tools/iio/.gitignore | |
parent | 2715a28105c6b2cd75e2a594e45f8b57dde783f0 (diff) | |
download | lwn-473d12f7638c93acbd9296a8cd455b203d5eb528.tar.gz lwn-473d12f7638c93acbd9296a8cd455b203d5eb528.zip |
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/iio/.gitignore')
0 files changed, 0 insertions, 0 deletions