diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-07-05 20:40:56 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-07-09 19:37:13 -0400 |
commit | 2f88e41a22ccfa95291c4df573f8ed4c6a71f29b (patch) | |
tree | e51881b14d66f045b50ca6e9c4b974a6e714c437 /kernel/power | |
parent | 63f9ccb89552f25fa8cac57a6796479ca7eb527d (diff) |
PM / hibernate: Add missing braces in hibernate_setup()
Make hibernate_setup() follow the coding style more closely by adding
some missing braces to the if () statement in it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/hibernate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index 126e24caa82e..b00f270d328e 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c | |||
@@ -1119,11 +1119,11 @@ static int __init resume_offset_setup(char *str) | |||
1119 | 1119 | ||
1120 | static int __init hibernate_setup(char *str) | 1120 | static int __init hibernate_setup(char *str) |
1121 | { | 1121 | { |
1122 | if (!strncmp(str, "noresume", 8)) | 1122 | if (!strncmp(str, "noresume", 8)) { |
1123 | noresume = 1; | 1123 | noresume = 1; |
1124 | else if (!strncmp(str, "nocompress", 10)) | 1124 | } else if (!strncmp(str, "nocompress", 10)) { |
1125 | nocompress = 1; | 1125 | nocompress = 1; |
1126 | else if (!strncmp(str, "no", 2)) { | 1126 | } else if (!strncmp(str, "no", 2)) { |
1127 | noresume = 1; | 1127 | noresume = 1; |
1128 | nohibernate = 1; | 1128 | nohibernate = 1; |
1129 | } | 1129 | } |