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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);