]> git.karo-electronics.de Git - linux-beck.git/commit
USB: OHCI: ohci-pxa27x: remove useless functions
authorManjunath Goudar <csmanjuvijay@gmail.com>
Thu, 1 Dec 2016 21:23:04 +0000 (21:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2016 15:32:51 +0000 (16:32 +0100)
commitc9e82b076f17f6e88fcacc4ccc3daa603e0b4658
treef027c63dc92977ba9fa10db6ba9c1acee7dbd629
parent680811dfec5d84e5720ef2adebe8eb64a4e094da
USB: OHCI: ohci-pxa27x: remove useless functions

The ohci_hcd_pxa27x_drv_probe function is not doing anything other
than calling usb_hcd_pxa27x_probe function so ohci_hcd_pxa27x_drv_probe
function is useless that is why removed ohci_hcd_pxa27x_drv_probe
function and renamed usb_hcd_pxa27x_probe function to
ohci_hcd_pxa27x_drv_probe for proper naming.

The ohci_hcd_pxa27x_remove function is also not doing anything other than
calling usb_hcd_pxa27x_remove that is why removed ohci_hcd_pxa27x_remove
function and renamed usb_hcd_pxa27x_remove to ohci_hcd_pxa27x_remove for
proper naming.

Signed-off-by: Manjunath Goudar <csmanjuvijay@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-pxa27x.c