[PATCH 1/4] Add helpers for finding a device node which as a certain property

David Miller davem at davemloft.net
Thu Nov 13 18:31:01 EST 2008


From: Michael Ellerman <michael at ellerman.id.au>
Date: Thu, 13 Nov 2008 18:11:43 +1100

> With my compiler (4.3.1) it just gets inlined and actually makes the
> text 8 bytes larger. We might be using different CFLAGs to sparc though.
> 
> I didn't think it made the source significantly clearer to split out the
> of_find_property() logic, especially seeing as we don't need the lenp
> behaviour in of_find_node_with_property().

Fair enough.



More information about the Linuxppc-dev mailing list