]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drivers core: Reindent a couple uses around sysfs_emit
authorJoe Perches <joe@perches.com>
Wed, 16 Sep 2020 20:40:41 +0000 (13:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 11:09:10 +0000 (13:09 +0200)
Just a couple of whitespace realignment to open parenthesis for
multi-line statements.

Signed-off-by: Joe Perches <joe@perches.com>
Link: https://lore.kernel.org/r/33224191421dbb56015eded428edfddcba997d63.1600285923.git.joe@perches.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/node.c
drivers/base/power/sysfs.c

index 60abdb27137b97e39f4e173aefdc35fd844efcc0..f10e8236aba88706cd927b7f24f86db30a998e5d 100644 (file)
@@ -386,9 +386,9 @@ static ssize_t node_read_meminfo(struct device *dev,
                       nid, K(i.freeram),
                       nid, K(i.totalram - i.freeram),
                       nid, K(node_page_state(pgdat, NR_ACTIVE_ANON) +
-                               node_page_state(pgdat, NR_ACTIVE_FILE)),
+                             node_page_state(pgdat, NR_ACTIVE_FILE)),
                       nid, K(node_page_state(pgdat, NR_INACTIVE_ANON) +
-                               node_page_state(pgdat, NR_INACTIVE_FILE)),
+                             node_page_state(pgdat, NR_INACTIVE_FILE)),
                       nid, K(node_page_state(pgdat, NR_ACTIVE_ANON)),
                       nid, K(node_page_state(pgdat, NR_INACTIVE_ANON)),
                       nid, K(node_page_state(pgdat, NR_ACTIVE_FILE)),
index 61e16786f6c59a36343b652b5003c7c0659256d7..e05207abb99e8cde8341016778fe1d5d255e577e 100644 (file)
@@ -102,7 +102,7 @@ static ssize_t control_show(struct device *dev, struct device_attribute *attr,
                            char *buf)
 {
        return sysfs_emit(buf, "%s\n",
-                               dev->power.runtime_auto ? ctrl_auto : ctrl_on);
+                         dev->power.runtime_auto ? ctrl_auto : ctrl_on);
 }
 
 static ssize_t control_store(struct device * dev, struct device_attribute *attr,