Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84cca820 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: fix codingstyle issues in drivers/usb/core/*.h



Fixes a number of coding style issues in the USB internal header files.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 41dceed5
Loading
Loading
Loading
Loading
+45 −45
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ extern void usb_destroy_configuration(struct usb_device *dev);
#define FRAME_TIME_USECS	1000L
#define BitTime(bytecount) (7 * 8 * bytecount / 6) /* with integer truncation */
		/* Trying not to use worst-case bit-stuffing
                   of (7/6 * 8 * bytecount) = 9.33 * bytecount */
		 * of (7/6 * 8 * bytecount) = 9.33 * bytecount */
		/* bytecount = data payload byte count */

#define NS_TO_US(ns)	((ns + 500L) / 1000L)
@@ -464,7 +464,7 @@ static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,
/*-------------------------------------------------------------------------*/

/* hub.h ... DeviceRemovable in 2.4.2-ac11, gone in 2.4.10 */
// bleech -- resurfaced in 2.4.11 or 2.4.12
/* bleech -- resurfaced in 2.4.11 or 2.4.12 */
#define bitmap 	DeviceRemovable


+11 −10
Original line number Diff line number Diff line
@@ -4,7 +4,8 @@ extern int usb_create_sysfs_dev_files (struct usb_device *dev);
extern void usb_remove_sysfs_dev_files(struct usb_device *dev);
extern int usb_create_sysfs_intf_files(struct usb_interface *intf);
extern void usb_remove_sysfs_intf_files(struct usb_interface *intf);
extern int usb_create_ep_files(struct device *parent, struct usb_host_endpoint *endpoint,
extern int usb_create_ep_files(struct device *parent,
				struct usb_host_endpoint *endpoint,
				struct usb_device *udev);
extern void usb_remove_ep_files(struct usb_host_endpoint *endpoint);

+9 −9

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.