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:
Stefan Klug
2025-07-07 10:55:04 +02:00
parent 75ad3c84a1
commit 4d15d0ffe9

View File

@@ -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