[PATCH 05/12] samples: configfs: improve alignment of broken lines
From: Bartosz Golaszewski
Date: Thu Sep 24 2020 - 08:46:12 EST
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
Improve the coding style by correctly aligning broken lines where
possible.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
---
samples/configfs/configfs_sample.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/samples/configfs/configfs_sample.c b/samples/configfs/configfs_sample.c
index e339404dce1c..924b57258af0 100644
--- a/samples/configfs/configfs_sample.c
+++ b/samples/configfs/configfs_sample.c
@@ -58,7 +58,7 @@ static ssize_t childless_storeme_show(struct config_item *item, char *page)
}
static ssize_t childless_storeme_store(struct config_item *item,
- const char *page, size_t count)
+ const char *page, size_t count)
{
struct childless *childless = to_childless(item);
unsigned long tmp;
@@ -141,7 +141,7 @@ static ssize_t simple_child_storeme_show(struct config_item *item, char *page)
}
static ssize_t simple_child_storeme_store(struct config_item *item,
- const char *page, size_t count)
+ const char *page, size_t count)
{
struct simple_child *simple_child = to_simple_child(item);
unsigned long tmp;
@@ -192,7 +192,7 @@ static inline struct simple_children *to_simple_children(struct config_item *ite
}
static struct config_item *simple_children_make_item(struct config_group *group,
- const char *name)
+ const char *name)
{
struct simple_child *simple_child;
@@ -209,7 +209,7 @@ static struct config_item *simple_children_make_item(struct config_group *group,
}
static ssize_t simple_children_description_show(struct config_item *item,
- char *page)
+ char *page)
{
return sprintf(page,
"[02-simple-children]\n"
@@ -270,8 +270,8 @@ static struct configfs_subsystem simple_children_subsys = {
* children of its own.
*/
-static struct config_group *group_children_make_group(
- struct config_group *group, const char *name)
+static struct config_group *
+group_children_make_group(struct config_group *group, const char *name)
{
struct simple_children *simple_children;
--
2.17.1