kernel-doc: code reorganization
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 6 Jan 2011 00:28:43 +0000 (16:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Jan 2011 17:59:38 +0000 (09:59 -0800)
commit8484baaa5065b460e5eb18ee721d8417251f7897
treefc0b956c74b6cd236169a323dec90feea79c1659
parentd5ba92b7958e3ff2f0878e45b9b42cb6976853dd
kernel-doc: code reorganization

Move 'main' code vs. subroutines around so that they are not so
intermixed, for better readability/understanding (relative to Perl).
It was messy to follow the primary flow of code execution with the
code being mixed.  Now the code begins with data initialization,
followed by all subroutines, then ends with the main code execution.

This is almost totally source code movement, with a few changes as
needed for forward declarations.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/kernel-doc