diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2013-10-05 12:02:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-05 21:00:08 -0400 |
commit | d1ddb0a6bb665dce10314bb5b9960e197e814820 (patch) | |
tree | 886e9ad7ea97904a3b0ec2271e7a5085ae08ea36 /drivers/usb/core | |
parent | 070104966cde138627fea8257ef278f7a0d1379b (diff) |
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>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/hcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 2a538ce08f9c..460bb59cb655 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c | |||
@@ -879,9 +879,9 @@ static ssize_t authorized_default_store(struct device *dev, | |||
879 | if (result == 1) { | 879 | if (result == 1) { |
880 | usb_hcd->authorized_default = val ? 1 : 0; | 880 | usb_hcd->authorized_default = val ? 1 : 0; |
881 | result = size; | 881 | result = size; |
882 | } | 882 | } else { |
883 | else | ||
884 | result = -EINVAL; | 883 | result = -EINVAL; |
884 | } | ||
885 | return result; | 885 | return result; |
886 | } | 886 | } |
887 | static DEVICE_ATTR_RW(authorized_default); | 887 | static DEVICE_ATTR_RW(authorized_default); |