diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-05 22:08:21 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-21 19:49:24 +0200 |
commit | c30e331188c97c9cb8e125abbfe56e1aea3241f7 (patch) | |
tree | f25ba0d5d1aa27cccc5e0f91b1afc6a638ea42e4 /tests/kms_getfb.c | |
parent | 837fea29145a355d6d84b31c0328591f01c61e46 (diff) |
lib/kms: Use named initializers for prop name arrays
Decouple the prop name arrays from the actual enum values
by using named initializers. Should make it less likely that we
end up with the wrong property on account of getting the order
wrong.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch> #irc
Diffstat (limited to 'tests/kms_getfb.c')
0 files changed, 0 insertions, 0 deletions