mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 20:34:23 -04:00
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: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
070104966c
commit
d1ddb0a6bb
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user