iio: accel: adxl355: Replace custom definitions with generic from units.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 2 Feb 2022 17:37:23 +0000 (19:37 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Feb 2022 15:22:12 +0000 (15:22 +0000)
commit08f5fbf030ecb2c0c54fb3072ab76a8ceae75cf9
tree990d8367316f61493816a537e60f98b8699720d9
parent0bb77dcea7fae1b5f692fa4679f5cfa0e6c58df8
iio: accel: adxl355: Replace custom definitions with generic from units.h

The units.h provides MEGA and TERA. Replace custom ones.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220202173723.8678-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl355_core.c