]> Git Repo - linux.git/commitdiff
bus: bt1-apb: Fix show/store callback identations
authorSerge Semin <[email protected]>
Thu, 28 May 2020 14:50:46 +0000 (17:50 +0300)
committerArnd Bergmann <[email protected]>
Thu, 28 May 2020 14:56:41 +0000 (16:56 +0200)
After fixing the sysfs calback return value the functions argumnets
identations have been left as before the fix. That made the
argments declarations being unaligned with respect to the space
surrounded by the parentheses.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Serge Semin <[email protected]>
Cc: Alexey Malahov <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: [email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
drivers/bus/bt1-apb.c

index 839f1add2236a59633bb66dbece68005dc82973e..59ec5e7077e8900ec92fea57de1b298f3bd2cd22 100644 (file)
@@ -311,15 +311,15 @@ static ssize_t timeout_store(struct device *dev,
 }
 static DEVICE_ATTR_RW(timeout);
 
-static ssize_t inject_error_show(struct device *dev, struct device_attribute *attr,
-                            char *buf)
+static ssize_t inject_error_show(struct device *dev,
+                                struct device_attribute *attr, char *buf)
 {
        return scnprintf(buf, PAGE_SIZE, "Error injection: nodev irq\n");
 }
 
 static ssize_t inject_error_store(struct device *dev,
-                             struct device_attribute *attr,
-                             const char *data, size_t count)
+                                 struct device_attribute *attr,
+                                 const char *data, size_t count)
 {
        struct bt1_apb *apb = dev_get_drvdata(dev);
 
This page took 0.059582 seconds and 4 git commands to generate.