dtoc: Move main program into its own function
Use a function for the main program so everything there doesn't look like
a global variable to pylint.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment