OpenCloudOS-Kernel/drivers/usb/renesas_usbhs
Kuninori Morimoto 3b2a2e4717 usb: renesas_usbhs: bugfix: add .release function to gpriv->gadget.dev
This patch fixup below warning on device_unregister()

renesas_usbhs renesas_usbhs.1: host probed
renesas_usbhs renesas_usbhs.1: gadget probed
renesas_usbhs renesas_usbhs.1: irq request err
------------[ cut here ]------------
WARNING: at ${LINUX}/drivers/base/core.c:1)
Device 'gadget' does not have a release() function, it is broken and must be fi.
Modules linked in:
[<c000e25c>] (unwind_backtrace+0x0/0xe4) from [<c0016960>] (warn_slowpath_commo)
[<c0016960>] (warn_slowpath_common+0x4c/0x64) from [<c00169f8>] (warn_slowpath_)
[<c00169f8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0185b80>] (device_release+0x)
[<c0185b80>] (device_release+0x70/0x84) from [<c013e300>] (kobject_cleanup+0x58)
[<c013e300>] (kobject_cleanup+0x58/0x6c) from [<c01cba14>] (usbhs_mod_gadget_re)
[<c01cba14>] (usbhs_mod_gadget_remove+0x3c/0x6c) from [<c01c8384>] (usbhs_mod_p)
[<c01c8384>] (usbhs_mod_probe+0x68/0x80) from [<c01c7f84>] (usbhs_probe+0x1cc/0)
...

Cc: stable@vger.kernel.org
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-02-24 12:22:39 +02:00
..
Kconfig usb: gadget: renesas_usbhs: drop dependency 2011-10-13 20:41:54 +03:00
Makefile usb: gadget: renesas_usbhs: fixup driver compile style 2011-10-13 20:41:54 +03:00
common.c usb: renesas_usbhs: add IRQ resource decoding for IRQF_SHARED 2012-01-24 11:32:56 +02:00
common.h usb: renesas_usbhs: add IRQ resource decoding for IRQF_SHARED 2012-01-24 11:32:56 +02:00
fifo.c usb: renesas: fix scheduling in atomic context bug 2012-02-14 13:44:53 +02:00
fifo.h usb: renesas: fix scheduling in atomic context bug 2012-02-14 13:44:53 +02:00
mod.c usb: renesas_usbhs: add IRQ resource decoding for IRQF_SHARED 2012-01-24 11:32:56 +02:00
mod.h usb: gadget: renesas_usbhs: fixup section mismatch warning 2011-11-14 11:51:23 -08:00
mod_gadget.c usb: renesas_usbhs: bugfix: add .release function to gpriv->gadget.dev 2012-02-24 12:22:39 +02:00
mod_host.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb 2012-01-09 12:09:47 -08:00
pipe.c usb: renesas: pipe: convert a long if into a XOR operation 2011-12-21 13:24:43 +02:00
pipe.h usb: renesas_usbhs: add usbhs_pipe_is_stall() 2011-12-12 11:45:15 +02:00