usb: gadget: udc_core: Use right kobj when calling sysfs_notify
authorAndreas Larsson <andreas@gaisler.com>
Mon, 15 Sep 2014 10:42:27 +0000 (12:42 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 16 Sep 2014 15:01:45 +0000 (10:01 -0500)
commitaf54954ad02091506ced45588215d389d606f74e
treeeca3296c54fb2a6c81e557a61334526e90efbe77
parent468bcc2a2ca071f652009d2d20d97f2437630cae
usb: gadget: udc_core: Use right kobj when calling sysfs_notify

The state attribute is connected to the kobj of the udc, not the gadget.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/udc-core.c