Skip to content
Snippets Groups Projects
Commit df637fa6 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
parent e573617c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment