diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-10 00:22:51 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-07 18:27:31 +0300 |
commit | 24f866f6a33609d93a6b5141733ab186176a6e22 (patch) | |
tree | 978812bc8550dbd5d693c907010a415833c5a743 /utils/gen-header.sh | |
parent | 0bc9286eb97aa4d38d643ee5c45fa6a487d12459 (diff) |
utils: gen-controls: Factor out YAML data handling in classes
The gen-controls.py script handles the data structure produced by the
YAML parser manually through the whole code base. Clean this up by
encapsulating it in Control and ControlEnum classes to model a control
and its enum values respectively, to decouple YAML data handling from
generation.
No functional change intended.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'utils/gen-header.sh')
0 files changed, 0 insertions, 0 deletions