[PATCH 09/30] USB: ehci-omap: Use devm_request_and_ioremap()

Alan Stern stern at rowland.harvard.edu
Mon Jan 28 10:17:33 EST 2013


On Mon, 28 Jan 2013, Roger Quadros wrote:

> Make use of devm_request_and_ioremap() and correct comment.

Didn't a big patch come through recently converting all usages of 
devm_request_and_ioremap() to another function (I forget the name) that 
does its own error reporting and returns an ERR_PTR value?

(Checks the mailing list archive...)  Ah, here it is:

	http://marc.info/?l=linux-usb&m=135876311801537&w=2

And the new function is devm_ioremap_resource().  We should avoid 
adding new usages of an old interface.

Alan Stern




More information about the linux-arm-kernel mailing list