of: introduce helper to manage boolean
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Tue, 7 Feb 2012 04:12:51 +0000 (12:12 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 25 Apr 2013 19:25:40 +0000 (20:25 +0100)
commit2930913e3d0c2cf88c635063af8a4fc721d6e31a
tree9440a12d9b7ee0725e4ae5f0e995e431902d59f4
parentadd02e682081ecdf0ee4eaf9d10dc6ef6235789d
of: introduce helper to manage boolean

commit fa4d34ccd0914ac87336ea2c17e9370dfecef286 upstream.

of_property_read_bool

Search for a property in a device node.
Returns true if the property exist false otherwise.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/of.h