iio: accel: adxl345: use HZ macro from units.h
authorDmitry Rokosov <DDRokosov@sberdevices.ru>
Fri, 12 Aug 2022 16:52:27 +0000 (16:52 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Aug 2022 15:57:37 +0000 (16:57 +0100)
commitfe49ce7abd6af8c55e58a8b33a7978c9da32ffb2
tree6a019a0e936ef7c981fa425d2583650718c904e4
parentd2a4cbcb8bdc0e3d1cf85bf47a670695da0bc27a
iio: accel: adxl345: use HZ macro from units.h

Remove duplicated definition of NHZ_PER_HZ, because it's available in
the units.h as NANOHZ_PER_HZ.

Signed-off-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220812165243.22177-4-ddrokosov@sberdevices.ru
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl345_core.c