USB: change name of spinlock in hcd.c
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 18 Jul 2007 16:14:24 +0000 (12:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Jul 2007 00:46:08 +0000 (17:46 -0700)
commit809a58b896ba07e771adc76a47c83e4ca1969da8
tree6d62ebd0671e38403011d87ed03a127a151c7f46
parent32aca5600526189dd876e6c92b64fd88cf052c8d
USB: change name of spinlock in hcd.c

This patch (as940 renames hcd_data_lock in hcd.c to hcd_urb_list_lock,
which is more descriptive of the lock's job.  It also introduces a
convenient inline routine for testing whether a particular USB device
is a root hub.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c