From: Serge Semin Date: Thu, 28 May 2020 14:50:46 +0000 (+0300) Subject: bus: bt1-apb: Fix show/store callback identations X-Git-Tag: v5.8-rc1~138^2~1^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b19dc1b79993a7e6a2c0aa1725f679bb9ae8ad89;p=thirdparty%2Fkernel%2Flinux.git 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/20200528145050.5203-2-Sergey.Semin@baikalelectronics.ru Signed-off-by: Serge Semin Cc: Alexey Malahov Cc: Olof Johansson Cc: Andy Shevchenko Cc: soc@kernel.org Signed-off-by: Arnd Bergmann --- diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c index 839f1add2236a..59ec5e7077e89 100644 --- a/drivers/bus/bt1-apb.c +++ b/drivers/bus/bt1-apb.c @@ -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);