Florian Fainelli be7ac70b9b USB: OHCI: make ohci-platform use devm_request_and_ioremap helper
This patch changes the ohci-platform driver to use the device managed helper
function for requesting memory region and ioremapping memory resources.
As a result the error path in the probe function is simplified, and the
platform driver remove callback does no longer need to release and iounmap
memory resources. devm_request_and_ioremap() will use either the ioremap()
or ioremap_nocache() handler depending on the resource's CACHEABLE flag, so
we are good with this change.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22 11:30:26 -07:00
..
2012-09-21 09:37:53 -07:00
2012-10-01 19:11:38 -07:00
2012-10-01 19:11:38 -07:00
2012-08-27 07:15:30 -07:00
2012-02-13 14:32:34 -08:00
2011-03-31 11:26:23 -03:00
2012-05-01 21:33:37 -07:00
2012-10-01 18:19:05 -07:00
2011-09-18 01:39:36 -07:00
2012-04-27 11:24:43 -07:00
2011-11-18 10:51:00 -08:00
2012-09-16 20:42:46 -07:00
2012-09-25 15:19:34 -07:00