Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Simmons-Talbott <joetalbott@gmail.com>2022-07-27 21:18:54 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-16 00:29:56 +0300
commit9d9ec8d01443832d4e6d2f46bfd6b3270f390be3 (patch)
tree3d5c833290e5d993897c33b4080657c251f45db5 /drivers/iio/industrialio-trigger.c
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
iio: Add blank lines after declarations.
As reported by checkpatch.pl add blank lines after declarations. Signed-off-by: Joe Simmons-Talbott <joetalbott@gmail.com> Link: https://lore.kernel.org/r/20220727181855.589052-2-joetalbott@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/industrialio-trigger.c')
-rw-r--r--drivers/iio/industrialio-trigger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-trigger.c b/drivers/iio/industrialio-trigger.c
index b78814d869b7..6885a186fe27 100644
--- a/drivers/iio/industrialio-trigger.c
+++ b/drivers/iio/industrialio-trigger.c
@@ -50,6 +50,7 @@ static ssize_t name_show(struct device *dev, struct device_attribute *attr,
char *buf)
{
struct iio_trigger *trig = to_iio_trigger(dev);
+
return sysfs_emit(buf, "%s\n", trig->name);
}