summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetre Rodan <petre.rodan@subdimension.ro>2025-10-14 19:42:57 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-10-19 13:59:23 +0300
commitd8cfb1c6494d0dc07cc960dd6511dbda524698d0 (patch)
treece618f487e6dbbc9bf6ddca4397be0cab926028f
parentc9fb952360d0c78bbe98239bd6b702f05c2dbb31 (diff)
downloadlinux-d8cfb1c6494d0dc07cc960dd6511dbda524698d0.tar.xz
iio: accel: bma220: white space cleanup
Clean up white space inconsistencies from the last patch series as requested by Jonathan. Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/accel/bma220_core.c2
-rw-r--r--drivers/iio/accel/bma220_spi.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/accel/bma220_core.c b/drivers/iio/accel/bma220_core.c
index 2531d6a54ff0..871342d21456 100644
--- a/drivers/iio/accel/bma220_core.c
+++ b/drivers/iio/accel/bma220_core.c
@@ -128,7 +128,7 @@ enum bma220_axis {
};
static const int bma220_scale_table[][2] = {
- {0, 623000}, {1, 248000}, {2, 491000}, {4, 983000},
+ { 0, 623000 }, { 1, 248000 }, { 2, 491000 }, { 4, 983000 },
};
struct bma220_data {
diff --git a/drivers/iio/accel/bma220_spi.c b/drivers/iio/accel/bma220_spi.c
index 7aced4017373..383ee8a135ee 100644
--- a/drivers/iio/accel/bma220_spi.c
+++ b/drivers/iio/accel/bma220_spi.c
@@ -26,12 +26,12 @@ static int bma220_spi_probe(struct spi_device *spi)
}
static const struct spi_device_id bma220_spi_id[] = {
- {"bma220", 0},
+ { "bma220", 0 },
{ }
};
static const struct acpi_device_id bma220_acpi_id[] = {
- {"BMA0220", 0},
+ { "BMA0220", 0 },
{ }
};
MODULE_DEVICE_TABLE(spi, bma220_spi_id);