]> git.karo-electronics.de Git - linux-beck.git/commit
ohci-nxp: Driver cleanup
authorRoland Stigge <stigge@antcom.de>
Sun, 29 Apr 2012 14:47:02 +0000 (16:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 May 2012 17:30:00 +0000 (13:30 -0400)
commita6a99cf0713c5336ad564b055d4ed34537700df4
treef13a028e6a88fb1f385378c07cd45f60f734dd5b
parent8815bb09af21316aeb5f8948b24ac62181670db2
ohci-nxp: Driver cleanup

Cleanup for ohci-nxp.c:

* Cleanup of resource handling (mem and irq), use devm_request_and_ioremap()
* Use DMA_BIT_MASK()
* Don't remove __devinit
* Removed obsolete gpio.h include
* More consistent bit access symbols
* Removed unused extern declaration ocpi_enable()
* Added error handling on i2c_get_adapter()
* Whitespace cleanup

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-nxp.c