Skip to content

Commit 27275d3

Browse files
JoePerchesgregkh
authored andcommitted
drivers core: Reindent a couple uses around sysfs_emit
Just a couple of whitespace realignment to open parenthesis for multi-line statements. Signed-off-by: Joe Perches <[email protected]> Link: https://lore.kernel.org/r/33224191421dbb56015eded428edfddcba997d63.1600285923.git.joe@perches.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 973c391 commit 27275d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/base/node.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,9 @@ static ssize_t node_read_meminfo(struct device *dev,
386386
nid, K(i.freeram),
387387
nid, K(i.totalram - i.freeram),
388388
nid, K(node_page_state(pgdat, NR_ACTIVE_ANON) +
389-
node_page_state(pgdat, NR_ACTIVE_FILE)),
389+
node_page_state(pgdat, NR_ACTIVE_FILE)),
390390
nid, K(node_page_state(pgdat, NR_INACTIVE_ANON) +
391-
node_page_state(pgdat, NR_INACTIVE_FILE)),
391+
node_page_state(pgdat, NR_INACTIVE_FILE)),
392392
nid, K(node_page_state(pgdat, NR_ACTIVE_ANON)),
393393
nid, K(node_page_state(pgdat, NR_INACTIVE_ANON)),
394394
nid, K(node_page_state(pgdat, NR_ACTIVE_FILE)),

drivers/base/power/sysfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static ssize_t control_show(struct device *dev, struct device_attribute *attr,
102102
char *buf)
103103
{
104104
return sysfs_emit(buf, "%s\n",
105-
dev->power.runtime_auto ? ctrl_auto : ctrl_on);
105+
dev->power.runtime_auto ? ctrl_auto : ctrl_on);
106106
}
107107

108108
static ssize_t control_store(struct device * dev, struct device_attribute *attr,

0 commit comments

Comments
 (0)