On 02/18/2014 01:05 AM, Fabio Estevam wrote:
From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
Using devm_ioremap_resource() can lead to code simplication, as we don't need to explicitily check for error returned by platform_get_resource().
Also, no need to print an error message when devm_ioremap_resource() fails, as the OOM code code will shout loudly on such condition.
Not only OOM code, the function itself will cuss loudly too. :-) WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html