Thread (11 messages) 11 messages, 2 authors, 2012-04-02

[PATCH v2 3/8] net: Add device tree support to LPC32xx

From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-04-02 19:38:41
Also in: linux-i2c, linux-watchdog, lkml, netdev

On Monday 02 April 2012, Roland Stigge wrote:
+       if (pdev->dev.of_node && of_get_property(pdev->dev.of_node,
+                                                "use-iram", NULL))
+               pldat->use_iram = true;
+       else
+               pldat->use_iram = false;
+
One more thing I just noticed:

this is equivalent to the much shorter 

	pldat->use_iram = of_property_read_bool(pdev->dev.of_node, "use-iram");

Everything else looks good here.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help