aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorJoão Seckler <joaoseckler@gmail.com>2019-04-29 14:59:40 -0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-05-05 13:06:11 +0100
commita8b7ca187fd21e9bd53c57eb8c97124ef01fea04 (patch)
treef2b0dd62f17740070c033a44a098947a72069c94 /drivers/staging/iio
parentiio: adc: rcar-gyroadc: Remove devm_iio_device_alloc() error printing (diff)
downloadlinux-dev-a8b7ca187fd21e9bd53c57eb8c97124ef01fea04.tar.xz
linux-dev-a8b7ca187fd21e9bd53c57eb8c97124ef01fea04.zip
staging: iio: adt7316: match parenthesis alignment
This patch solves the following checkpatch.pl message: CHECK: Alignment should match open parenthesis. This makes the file more compliant with the preferred coding style for the Linux kernel. Signed-off-by: João Seckler <joaoseckler@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/addac/adt7316.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c
index b6a65ee8d558..37ce563cb0e1 100644
--- a/drivers/staging/iio/addac/adt7316.c
+++ b/drivers/staging/iio/addac/adt7316.c
@@ -2154,7 +2154,7 @@ int adt7316_probe(struct device *dev, struct adt7316_bus *bus,
chip->dac_bits = 8;
chip->ldac_pin = devm_gpiod_get_optional(dev, "adi,ldac",
- GPIOD_OUT_LOW);
+ GPIOD_OUT_LOW);
if (IS_ERR(chip->ldac_pin)) {
ret = PTR_ERR(chip->ldac_pin);
dev_err(dev, "Failed to request ldac GPIO: %d\n", ret);