Skip to contentSkip to conversation

docbook: fix usb source files

PATCH In review Randy Dunlap 2 participants 2 messages Mar 1, 2008 – Mar 3, 2008 USB

lore
Share & tools
lore
#0 lore raw

PATCH 4/6 docbook: fix usb source files

From: Randy Dunlap <[email protected]>

Fix docbook problems in USB source files. These cause the generated docbook to be incorrect.

---
 drivers/usb/core/usb.c |    6 ++----
 include/linux/usb.h    |    9 +++------
 2 files changed, 5 insertions(+), 10 deletions(-)
drivers/usb/core/usb.c +2 -4
@@ -99,8 +99,7 @@ struct usb_interface *usb_ifnum_to_if(co
 EXPORT_SYMBOL_GPL(usb_ifnum_to_if);
 
 /**
- * usb_altnum_to_altsetting - get the altsetting structure with a given
- *	alternate setting number.
+ * usb_altnum_to_altsetting - get the altsetting structure with a given alternate setting number.
  * @intf: the interface containing the altsetting in question
  * @altnum: the desired alternate setting number
  *
@@ -442,8 +441,7 @@ EXPORT_SYMBOL_GPL(usb_put_intf);
  */
 
 /**
- * usb_lock_device_for_reset - cautiously acquire the lock for a
- *	usb device structure
+ * usb_lock_device_for_reset - cautiously acquire the lock for a usb device structure
  * @udev: device that's being locked
  * @iface: interface bound to the driver making the request (optional)
  *
include/linux/usb.h +3 -6
@@ -781,8 +781,7 @@ static inline int usb_endpoint_is_isoc_o
 	.idVendor = (vend), \
 	.idProduct = (prod)
 /**
- * USB_DEVICE_VER - macro used to describe a specific usb device with a
- *		version range
+ * USB_DEVICE_VER - describe a specific usb device with a version range
  * @vend: the 16 bit USB Vendor ID
  * @prod: the 16 bit USB Product ID
  * @lo: the bcdDevice_lo value
@@ -799,8 +798,7 @@ static inline int usb_endpoint_is_isoc_o
 	.bcdDevice_hi = (hi)
 
 /**
- * USB_DEVICE_INTERFACE_PROTOCOL - macro used to describe a usb
- *		device with a specific interface protocol
+ * USB_DEVICE_INTERFACE_PROTOCOL - describe a usb device with a specific interface protocol
  * @vend: the 16 bit USB Vendor ID
  * @prod: the 16 bit USB Product ID
  * @pr: bInterfaceProtocol value
@@ -846,8 +844,7 @@ static inline int usb_endpoint_is_isoc_o
 	.bInterfaceProtocol = (pr)
 
 /**
- * USB_DEVICE_AND_INTERFACE_INFO - macro used to describe a specific usb device
- * 		with a class of usb interfaces
+ * USB_DEVICE_AND_INTERFACE_INFO - describe a specific usb device with a class of usb interfaces
  * @vend: the 16 bit USB Vendor ID
  * @prod: the 16 bit USB Product ID
  * @cl: bInterfaceClass value
#1 lore raw
Quoted 2 lines · On Fri, 29 Feb 2008 22:03:07 -0800 Randy Dunlap <[email protected]> wrote:

Fix docbook problems in USB source files. These cause the generated docbook to be incorrect.

This gets 100% rejects agaisnt Greg's devel tree (here we go again...)