diff options
| author | Stephen Warren <swarren@nvidia.com> | 2013-05-23 12:09:57 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-06-04 16:06:32 -0400 | 
| commit | df637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a (patch) | |
| tree | 91ba619c3a16d645dc12cf6d164952a2a303f4b7 /common/main.c | |
| parent | e573617c092eb49da2d67443725d755fca3e8b74 (diff) | |
| download | olio-uboot-2014.01-df637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a.tar.xz olio-uboot-2014.01-df637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a.zip | |
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>
Diffstat (limited to 'common/main.c')
0 files changed, 0 insertions, 0 deletions