OSDN Git Service

USB: ohci-platform: Move platform_data checks into the probe function
authorKevin Cernekee <cernekee@gmail.com>
Sat, 11 Oct 2014 18:10:49 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:38:17 +0000 (15:38 -0800)
commit46f21949eb77a9dfc14a00071539929d11bcf69b
treec68bbb94283baf54451720149548be39da962be4
parentc4b8692a0520331a0ede604e20a0a52b96a98607
USB: ohci-platform: Move platform_data checks into the probe function

This puts all of the platform_data checks in the same place, and removes
the need for a custom drv->reset() callback.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-platform.c