staging: kpc2000: code style: match alignment with open parenthesis
authorNikolay Kyx <knv418@gmail.com>
Sun, 21 Feb 2021 13:22:45 +0000 (16:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:28 +0000 (09:25 +0100)
This patch fixes the following checkpatch.pl check:

CHECK: Alignment should match open parenthesis

in files kpc2000_i2c.c kpc2000_spi.c

Signed-off-by: Nikolay Kyx <knv418@gmail.com>
Link: https://lore.kernel.org/r/20210221132246.1154-1-knv418@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000_i2c.c
drivers/staging/kpc2000/kpc2000_spi.c

index 25bb5c97dd21a9c2b166b8b2afaf3f3ff51ce3d8..3f1f833d3b5161b9685ff4cfc418f852c3ebcd5f 100644 (file)
@@ -269,7 +269,7 @@ static int i801_block_transaction_by_block(struct kpc_i2c *priv,
        }
 
        status = i801_transaction(priv,
-                       I801_BLOCK_DATA | ENABLE_INT9 | I801_PEC_EN * hwpec);
+                                 I801_BLOCK_DATA | ENABLE_INT9 | I801_PEC_EN * hwpec);
        if (status)
                return status;
 
index 44017d523da5f3a8cb0375c23fe27c8ade142d4f..16ca18b8aa15929dc8f68369b02792f51e9b3e36 100644 (file)
@@ -465,7 +465,7 @@ kp_spi_probe(struct platform_device *pldev)
        }
 
        kpspi->base = devm_ioremap(&pldev->dev, r->start,
-                                          resource_size(r));
+                                  resource_size(r));
 
        status = spi_register_master(master);
        if (status < 0) {