Commit 057de5c4 authored by Jani Nikula's avatar Jani Nikula

Documentation/sphinx: use a more sensible string split in kernel-doc extension

Using the default str.split doesn't return empty strings like the
current version does.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 06173fe3
......@@ -68,7 +68,7 @@ class KernelDocDirective(Directive):
elif 'doc' in self.options:
cmd += ['-function', str(self.options.get('doc'))]
elif 'functions' in self.options:
for f in str(self.options.get('functions')).split(' '):
for f in str(self.options.get('functions')).split():
cmd += ['-function', f]
cmd += [filename]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment