usb: gadget: udc-core: fix the typo of udc state attribute
authorRong Wang <Rong.Wang@csr.com>
Sun, 28 Jul 2013 15:01:35 +0000 (23:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Aug 2013 08:51:14 +0000 (16:51 +0800)
commit8fc2b1321b8fb0ed3d80de5303b8db99923bdecf
tree7d774721bbf393cd1b64fb6e6a0c48977a61a98a
parent2ff7687bca58a839fd36e5a0b167465b4fa8bf51
usb: gadget: udc-core: fix the typo of udc state attribute

commit 1894870eb4240399fabc6f0cb8c6fff4e6edbe83 upstream.

The name of udc state attribute file under sysfs is registered as
"state", while usb_gadget_set_state take it as "status" when it's
going to update. This patch fixes the typo.

Signed-off-by: Rong Wang <Rong.Wang@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc-core.c