diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-09-09 22:09:50 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-09-21 09:46:32 +0400 |
commit | cca84699a079a91b0a0cb4f2da8548e56859376a (patch) | |
tree | cbce1c7311de1f9a739e489101ab19a4555f3d09 /include/linux/input | |
parent | c3a01ba9e45f01c6505a41efb33c420a0c959eb3 (diff) | |
download | linux-cca84699a079a91b0a0cb4f2da8548e56859376a.tar.xz |
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>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions