]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: iio: adt7316: match parenthesis alignment
authorJoão Seckler <joaoseckler@gmail.com>
Mon, 29 Apr 2019 17:59:40 +0000 (14:59 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 May 2019 12:06:11 +0000 (13:06 +0100)
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>
drivers/staging/iio/addac/adt7316.c

index b6a65ee8d558e633cc85a012110f352ad6978eb2..37ce563cb0e161fad72c1436256561c357f349bf 100644 (file)
@@ -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);