From: Kuninori Morimoto Date: Tue, 7 Aug 2012 01:06:53 +0000 (-0700) Subject: usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~193 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86e4cb35f2260374df4139c2352afe7fe247cb60;p=pandora-kernel.git usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe usb_ehci_pdata is certainly required in ehci-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 Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed