commit | df637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Thu May 23 12:09:57 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Jun 04 16:06:32 2013 -0400 |
tree | 91ba619c3a16d645dc12cf6d164952a2a303f4b7 | |
parent | e573617c092eb49da2d67443725d755fca3e8b74 [diff] |
input: simplify key_matrix_decode_fdt() We know the exact property names that the code wants to process. Look these up directly with fdt_get_property(), rather than iterating over all properties within the node, and checking each property's name, in a convoluted fashion, against the expected name. Signed-off-by: Stephen Warren <swarren@nvidia.com>