USB: m66592-udc: Fix up dev_set_name() badness.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 30 Jul 2008 05:33:43 +0000 (22:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:46 +0000 (09:41 -0700)
commit836e4b14b41d19d17341a2dd2c49af8dd54e3aac
treec01c3be5f07e6e952b054e43a7b92b84fba7a52d
parent204b885e7322656284626949e51f292fe61313fa
USB: m66592-udc: Fix up dev_set_name() badness.

Commit 0031a06e2f07ab0d1bc98c31dbb6801f95f4bf01 converted all of the USB
drivers to use dev_set_name(), though there was a typo on the m66592-udc
conversion that handed off the wrong pointer (we want the struct device
here obviously, not the struct usb_gadget).

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/gadget/m66592-udc.c