提交 d1ddb0a6 编写于 作者: M Matthias Beyer 提交者: 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: NMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 07010496
...@@ -879,9 +879,9 @@ static ssize_t authorized_default_store(struct device *dev, ...@@ -879,9 +879,9 @@ static ssize_t authorized_default_store(struct device *dev,
if (result == 1) { if (result == 1) {
usb_hcd->authorized_default = val ? 1 : 0; usb_hcd->authorized_default = val ? 1 : 0;
result = size; result = size;
} } else {
else
result = -EINVAL; result = -EINVAL;
}
return result; return result;
} }
static DEVICE_ATTR_RW(authorized_default); static DEVICE_ATTR_RW(authorized_default);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册