Commit f94fdeaa authored by Timo von Holtz's avatar Timo von Holtz Committed by Greg Kroah-Hartman

Staging: quickstart: fixed coding style issues

Fixed the Following coding Style Issues:
drivers/staging/quickstart/quickstart.c:8: ERROR: trailing whitespace
drivers/staging/quickstart/quickstart.c:144: ERROR: spaces required around that '?' (ctx:VxV)
drivers/staging/quickstart/quickstart.c:144: ERROR: spaces required around that ':' (ctx:VxV)
Signed-off-by: default avatarTimo von Holtz <tvh@informatik.uni-kiel.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7e79f78b
...@@ -141,7 +141,8 @@ static ssize_t pressed_button_show(struct device *dev, ...@@ -141,7 +141,8 @@ static ssize_t pressed_button_show(struct device *dev,
char *buf) char *buf)
{ {
return snprintf(buf, PAGE_SIZE, "%s\n", return snprintf(buf, PAGE_SIZE, "%s\n",
(quickstart_data.pressed?quickstart_data.pressed->name:"none")); (quickstart_data.pressed ?
quickstart_data.pressed->name : "none"));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment