summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-30 18:49:04 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-01-23 19:03:34 +0100
commit086fe53fd1a593c15525e611624ab6e03c9d9a2a (patch)
treee28fce77b76891c26376a1f655b5ac5abb6a0f9c /drivers
parentiio:proximity:srf04: White space cleanup of spacing around {} in id tables (diff)
downloadlinux-086fe53fd1a593c15525e611624ab6e03c9d9a2a.tar.xz
linux-086fe53fd1a593c15525e611624ab6e03c9d9a2a.zip
iio:proximity:srf08: White space cleanup of spacing around {} in id tables
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iio/proximity/srf08.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c
index 9b0886760f76..ac1ab7e89d4e 100644
--- a/drivers/iio/proximity/srf08.c
+++ b/drivers/iio/proximity/srf08.c
@@ -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 },
{},
};