]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iio: accel: bma220: white space cleanup
authorPetre Rodan <petre.rodan@subdimension.ro>
Tue, 14 Oct 2025 16:42:57 +0000 (19:42 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:23 +0000 (11:59 +0100)
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>
drivers/iio/accel/bma220_core.c
drivers/iio/accel/bma220_spi.c

index 2531d6a54ff0f193aab8ae83cff25bab64651507..871342d21456b83cef37d11fae4e1b2cc81e41aa 100644 (file)
@@ -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 {
index 7aced40173731289161f1d9ad408c8669bc9f227..383ee8a135ee9ef8262c21da4ead228d8a6868a6 100644 (file)
@@ -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);