diff options
author | Jonathan Corbet <corbet@lwn.net> | 2025-06-06 10:34:31 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-06-09 14:37:16 -0600 |
commit | cef8c781ca71ddd0777d639775e66f8630359342 (patch) | |
tree | 3955a28f2c0686e71bfbeaf95b104e95ef3f63da /scripts/lib/kdoc/kdoc_output.py | |
parent | e8f0303e8b8dce911536963c89eaf0a5ccb62d6a (diff) |
docs: kdoc: move the core dispatch into a state table
Since all of the handlers already nicely have the same prototype, put them
into a table and call them from there and take out the extended
if-then-else series.
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250606163438.229916-3-corbet@lwn.net
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions