Skip to content

Commit b19dc1b

Browse files
fancerarndb
authored andcommitted
bus: bt1-apb: Fix show/store callback identations
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]>
1 parent 1c8ceb1 commit b19dc1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/bus/bt1-apb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,15 @@ static ssize_t timeout_store(struct device *dev,
311311
}
312312
static DEVICE_ATTR_RW(timeout);
313313

314-
static ssize_t inject_error_show(struct device *dev, struct device_attribute *attr,
315-
char *buf)
314+
static ssize_t inject_error_show(struct device *dev,
315+
struct device_attribute *attr, char *buf)
316316
{
317317
return scnprintf(buf, PAGE_SIZE, "Error injection: nodev irq\n");
318318
}
319319

320320
static ssize_t inject_error_store(struct device *dev,
321-
struct device_attribute *attr,
322-
const char *data, size_t count)
321+
struct device_attribute *attr,
322+
const char *data, size_t count)
323323
{
324324
struct bt1_apb *apb = dev_get_drvdata(dev);
325325

0 commit comments

Comments
 (0)