Thread (9 messages) 9 messages, 3 authors, 2014-10-03

[PATCH v2] i2c: axxia: Add I2C driver for AXM55xx

From: Varka Bhadram <hidden>
Date: 2014-09-29 10:15:52
Also in: linux-devicetree, linux-i2c, lkml

On 09/29/2014 03:43 PM, Wolfram Sang wrote:
quoted
quoted
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
Error checking on *res*...?

We should *return* on platform_get_resource() failure..
quoted
+	base = devm_ioremap_resource(&pdev->dev, res);
Nope. devm_ioremap_resource does that.
Yes it will [1]. Thanks for the clarification.

[1]:http://lxr.free-electrons.com/source/lib/devres.c#L117

-- 
Regards,
Varka Bhadram.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help