]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: dummy_hcd: rename variables
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 14 Nov 2005 17:16:30 +0000 (12:16 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:48:31 +0000 (13:48 -0800)
commitc372e002bf292a490b60e08bc5befd6a65f4b95d
treef7511fe4a6b7ee39d4e8126712a7112dd1e2659a
parent13eaddc578b672df206cf54773594190ef69582d
[PATCH] USB: dummy_hcd: rename variables

The recent platform_device update has reintroduced into dummy_hcd.c the
dreaded dev->dev syndrome.  This harkens back to when an earlier version
of that driver included the unforgettable line:

dev->dev.dev.driver_data = dev;

This patch (as602) renames the platform_device variables to "pdev", in
the hope of reducing confusion.

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