lkml.org 
[lkml]   [2020]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 05/12] samples: configfs: improve alignment of broken lines
Date
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Improve the coding style by correctly aligning broken lines where
possible.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
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
\
 
 \ /
  Last update: 2020-09-24 14:47    [W:0.126 / U:3.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site