iio:proximity:srf08: White space cleanup of spacing around {} in id tables
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 30 Dec 2021 17:49:04 +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 with a space after the {
but not before the }.  Tidy this up to avoid providing a bad example
to copy 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-10-jic23@kernel.org
drivers/iio/proximity/srf08.c

index 9b08867..ac1ab7e 100644 (file)
@@ -528,9 +528,9 @@ static int srf08_probe(struct i2c_client *client,
 }
 
 static const struct of_device_id of_srf08_match[] = {
-       { .compatible = "devantech,srf02", (void *)SRF02},
-       { .compatible = "devantech,srf08", (void *)SRF08},
-       { .compatible = "devantech,srf10", (void *)SRF10},
+       { .compatible = "devantech,srf02", (void *)SRF02 },
+       { .compatible = "devantech,srf08", (void *)SRF08 },
+       { .compatible = "devantech,srf10", (void *)SRF10 },
        {},
 };