tools: ynl-gen: move free printing to the print_type_full() helper
authorJakub Kicinski <kuba@kernel.org>
Wed, 23 Jul 2025 17:10:43 +0000 (10:10 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Jul 2025 00:28:49 +0000 (17:28 -0700)
commitcf5869977702b1d51e3b4d58b6c559a98a366114
treeb749d820326adcd16211d90065a7f9b7b0ef1e7e
parenta8a9fd042e0995ed63d33f507c26baf56031e581
tools: ynl-gen: move free printing to the print_type_full() helper

Just to avoid making the main function even more enormous,
before adding more things to print move the free printing
to a helper which already prints the type.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250723171046.4027470-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/pyynl/ynl_gen_c.py