utils: gen-debug-controls: Remove line number from control description
The line numbers change so often that including them in the description creates too much noise in control_ids_debug.yaml. Output the path only. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
This commit is contained in:
@@ -107,7 +107,7 @@ def main(argv):
|
||||
p = m.file.relative_to(root_dir)
|
||||
desc = {'type': m.type,
|
||||
'direction': 'out',
|
||||
'description': f'Debug control {m.name} found in {p}:{m.line}'}
|
||||
'description': f'Debug control {m.name} found in {p}'}
|
||||
if m.size is not None:
|
||||
desc['size'] = m.size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user