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: Timo von Holtz <tvh@informatik.uni-kiel.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Timo von Holtz 2011-02-08 20:41:19 +01:00 committed by Greg Kroah-Hartman
parent 7e79f78b33
commit f94fdeaa58

View File

@ -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"));
} }