of: introduce helper to manage boolean
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Tue, 7 Feb 2012 04:12:51 +0000 (12:12 +0800)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 15 Mar 2012 15:27:31 +0000 (23:27 +0800)
commitfa4d34ccd0914ac87336ea2c17e9370dfecef286
treea5929b60f6b8a52d60a91d0cf2a7e38079d57c44
parent98619dcb77d9dcbed67e39a71e4357fc99dc0f25
of: introduce helper to manage boolean

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>
include/linux/of.h