Commit d1ddb0a6 authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

drivers: usb: core: hcd: if-else-braces fixed

Put else keyword on same line as closing brace from if statement, added
{ } braces as the styleguide says.
Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 07010496
......@@ -879,9 +879,9 @@ static ssize_t authorized_default_store(struct device *dev,
if (result == 1) {
usb_hcd->authorized_default = val ? 1 : 0;
result = size;
}
else
} else {
result = -EINVAL;
}
return result;
}
static DEVICE_ATTR_RW(authorized_default);
......
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