diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-17 13:58:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:47 -0400 |
commit | 0858a3a52f659dabf2860f350e5a6a61f069e851 (patch) | |
tree | cec27991ece5515676d10ea2bc19d6d237cbab36 /include/linux/usb/ch9.h | |
parent | 812219ab8facf07b94e4b3fe81e9cd3fe4129777 (diff) |
USB: include/usb/*.h checkpatch cleanup
Lots of minor formatting cleanups in includes/usb/ to make checkpatch
happier.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb/ch9.h')
-rw-r--r-- | include/linux/usb/ch9.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index e779af5c800b..da2ed77d3e8d 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h | |||
@@ -477,7 +477,7 @@ static inline int usb_endpoint_xfer_isoc( | |||
477 | static inline int usb_endpoint_is_bulk_in( | 477 | static inline int usb_endpoint_is_bulk_in( |
478 | const struct usb_endpoint_descriptor *epd) | 478 | const struct usb_endpoint_descriptor *epd) |
479 | { | 479 | { |
480 | return (usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_in(epd)); | 480 | return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_in(epd); |
481 | } | 481 | } |
482 | 482 | ||
483 | /** | 483 | /** |
@@ -490,7 +490,7 @@ static inline int usb_endpoint_is_bulk_in( | |||
490 | static inline int usb_endpoint_is_bulk_out( | 490 | static inline int usb_endpoint_is_bulk_out( |
491 | const struct usb_endpoint_descriptor *epd) | 491 | const struct usb_endpoint_descriptor *epd) |
492 | { | 492 | { |
493 | return (usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_out(epd)); | 493 | return usb_endpoint_xfer_bulk(epd) && usb_endpoint_dir_out(epd); |
494 | } | 494 | } |
495 | 495 | ||
496 | /** | 496 | /** |
@@ -503,7 +503,7 @@ static inline int usb_endpoint_is_bulk_out( | |||
503 | static inline int usb_endpoint_is_int_in( | 503 | static inline int usb_endpoint_is_int_in( |
504 | const struct usb_endpoint_descriptor *epd) | 504 | const struct usb_endpoint_descriptor *epd) |
505 | { | 505 | { |
506 | return (usb_endpoint_xfer_int(epd) && usb_endpoint_dir_in(epd)); | 506 | return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_in(epd); |
507 | } | 507 | } |
508 | 508 | ||
509 | /** | 509 | /** |
@@ -516,7 +516,7 @@ static inline int usb_endpoint_is_int_in( | |||
516 | static inline int usb_endpoint_is_int_out( | 516 | static inline int usb_endpoint_is_int_out( |
517 | const struct usb_endpoint_descriptor *epd) | 517 | const struct usb_endpoint_descriptor *epd) |
518 | { | 518 | { |
519 | return (usb_endpoint_xfer_int(epd) && usb_endpoint_dir_out(epd)); | 519 | return usb_endpoint_xfer_int(epd) && usb_endpoint_dir_out(epd); |
520 | } | 520 | } |
521 | 521 | ||
522 | /** | 522 | /** |
@@ -529,7 +529,7 @@ static inline int usb_endpoint_is_int_out( | |||
529 | static inline int usb_endpoint_is_isoc_in( | 529 | static inline int usb_endpoint_is_isoc_in( |
530 | const struct usb_endpoint_descriptor *epd) | 530 | const struct usb_endpoint_descriptor *epd) |
531 | { | 531 | { |
532 | return (usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_in(epd)); | 532 | return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_in(epd); |
533 | } | 533 | } |
534 | 534 | ||
535 | /** | 535 | /** |
@@ -542,7 +542,7 @@ static inline int usb_endpoint_is_isoc_in( | |||
542 | static inline int usb_endpoint_is_isoc_out( | 542 | static inline int usb_endpoint_is_isoc_out( |
543 | const struct usb_endpoint_descriptor *epd) | 543 | const struct usb_endpoint_descriptor *epd) |
544 | { | 544 | { |
545 | return (usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_out(epd)); | 545 | return usb_endpoint_xfer_isoc(epd) && usb_endpoint_dir_out(epd); |
546 | } | 546 | } |
547 | 547 | ||
548 | /*-------------------------------------------------------------------------*/ | 548 | /*-------------------------------------------------------------------------*/ |