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)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 11:15:38 +0000 (14:15 +0300)
commit1894870eb4240399fabc6f0cb8c6fff4e6edbe83
tree7a721ca2dddbd8c82835be6a12a608c585e5b4d5
parent96edc98e7894a7ac5a1cb3c6059455304a6cde6a
usb: gadget: udc-core: fix the typo of udc state attribute

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>
Cc: <stable@kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc-core.c