diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-08-07 03:07:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 21:05:32 +0200 |
commit | b6dd245c4594482d46507a0bfd100439be367952 (patch) | |
tree | def53c96054733d2dea8e07caba0096a308b4c52 /Documentation/leds | |
parent | usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe (diff) | |
download | linux-b6dd245c4594482d46507a0bfd100439be367952.tar.xz linux-b6dd245c4594482d46507a0bfd100439be367952.zip |
usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
usb_ohci_pdata is certainly required in ohci-platform driver.
This patch avoids using BUG_ON() from driver,
and return from probe with WARN_ON() if pdata was NULL.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/leds')
0 files changed, 0 insertions, 0 deletions