commit | cca84699a079a91b0a0cb4f2da8548e56859376a | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri Sep 09 11:09:50 2011 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Sep 20 22:46:32 2011 -0700 |
tree | cbce1c7311de1f9a739e489101ab19a4555f3d09 | |
parent | c3a01ba9e45f01c6505a41efb33c420a0c959eb3 [diff] |
Input: gpio_keys - use of_property_read_u32() Use the of_property_read_u32() helper function to retrieve u32 values from the device tree. Also do not pass the len parameter to of_get_property if it isn't checked afterwards. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>