iio:proximity:ping: White space cleanup of spacing around {} in id tables
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 30 Dec 2021 17:49:01 +0000 (17:49 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 23 Jan 2022 18:03:34 +0000 (18:03 +0000)
The spacing in this driver was inconsistent so make sure we have a space
after { and before } for the two id tables.
Avoid providing examples of this inconsistency that get copied into new
drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Andreas Klinger <ak@it-klinger.de>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20211230174911.78291-7-jic23@kernel.org
drivers/iio/proximity/ping.c

index 1283ac1..24a97d4 100644 (file)
@@ -267,8 +267,8 @@ static const struct iio_chan_spec ping_chan_spec[] = {
 };
 
 static const struct of_device_id of_ping_match[] = {
-       { .compatible = "parallax,ping", .data = &pa_ping_cfg},
-       { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg},
+       { .compatible = "parallax,ping", .data = &pa_ping_cfg },
+       { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg },
        {},
 };