From: Florian Fainelli Date: Mon, 8 Oct 2012 13:11:46 +0000 (+0200) Subject: USB: OHCI: make ohci-platform use devm_request_and_ioremap helper X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be7ac70b9b1cb49758d52abb554c92c03acd6f08;p=pandora-kernel.git 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 Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed