summaryrefslogtreecommitdiffstats
path: root/common/main.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-05-23 12:09:57 +0000
committerTom Rini <trini@ti.com>2013-06-04 16:06:32 -0400
commitdf637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a (patch)
tree91ba619c3a16d645dc12cf6d164952a2a303f4b7 /common/main.c
parente573617c092eb49da2d67443725d755fca3e8b74 (diff)
downloadblackbird-obmc-uboot-df637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a.tar.gz
blackbird-obmc-uboot-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
OpenPOWER on IntegriCloud