summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/adxl345_core.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-02-22 10:00:08 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-26 20:11:32 +0100
commitb8f83abdd2dd5bb71a0ffb62dbd3fbfdcf9d79f7 (patch)
tree769d430073c4a41c650f0b95ac9380c2f4846370 /drivers/iio/accel/adxl345_core.c
parentiio: accel: adxl345: Extract adxl345_powerup() helper (diff)
downloadlinux-b8f83abdd2dd5bb71a0ffb62dbd3fbfdcf9d79f7.tar.xz
linux-b8f83abdd2dd5bb71a0ffb62dbd3fbfdcf9d79f7.zip
iio: accel: adxl345: Drop comma in terminator entries
Terminator entries are by definition should terminate the array. Dropping comma make this enforced at compile time. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Link: https://lore.kernel.org/r/20220222090009.2060-7-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/adxl345_core.c')
-rw-r--r--drivers/iio/accel/adxl345_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/adxl345_core.c b/drivers/iio/accel/adxl345_core.c
index 4e4562fc35c9..370bfec1275a 100644
--- a/drivers/iio/accel/adxl345_core.c
+++ b/drivers/iio/accel/adxl345_core.c
@@ -195,7 +195,7 @@ static IIO_CONST_ATTR_SAMP_FREQ_AVAIL(
static struct attribute *adxl345_attrs[] = {
&iio_const_attr_sampling_frequency_available.dev_attr.attr,
- NULL,
+ NULL
};
static const struct attribute_group adxl345_attrs_group = {