]> git.dujemihanovic.xyz Git - u-boot.git/commit
input: simplify key_matrix_decode_fdt()
authorStephen Warren <swarren@nvidia.com>
Thu, 23 May 2013 12:09:57 +0000 (12:09 +0000)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:06:32 +0000 (16:06 -0400)
commitdf637fa6da6e0f6b1d14d84f1afdd729bc2e2d1a
tree91ba619c3a16d645dc12cf6d164952a2a303f4b7
parente573617c092eb49da2d67443725d755fca3e8b74
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>
drivers/input/key_matrix.c