staging/easycap: easycap_probe : rename usb variables to common names
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 6 Apr 2011 14:37:33 +0000 (17:37 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Apr 2011 01:08:07 +0000 (18:08 -0700)
commit11ff12feb40dc663cad0f2da86729f1af9d1356e
tree6265436f0bd6c186fd038a0f7ce7257df987097f
parent24742ac69249500f650fd72cf0755932c5a4c247
staging/easycap: easycap_probe : rename usb variables to common names

1. rename usb variables to more common names

struct usb_device *pusb_device -> usbdev
struct usb_host_interface *pusb_host_interface -> alt
struct usb_endpoint_descriptor *pepd ->
struct usb_interface_descriptor *pusb_interface_descriptor -> interface;

2. use usb_altnum_to_altsetting to access alternative settings

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap_main.c