Cleanup stray newline in a return statement
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
This commit is contained in:
parent
3abdafd12d
commit
991f271de5
@ -51,8 +51,7 @@ static long backlight_get(struct backlight *backlight, char *node)
|
|||||||
long value, ret;
|
long value, ret;
|
||||||
|
|
||||||
if (asprintf(&path, "%s/%s", backlight->path, node) < 0)
|
if (asprintf(&path, "%s/%s", backlight->path, node) < 0)
|
||||||
return -ENOMEM
|
return -ENOMEM;
|
||||||
;
|
|
||||||
fd = open(path, O_RDONLY);
|
fd = open(path, O_RDONLY);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user