summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-05-04 17:02:38 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 13:33:41 -0700
commite0eaa10d4d23e35a2bf6ac4b3dff81ae30b0d7e5 (patch)
tree98fd64ff623bc69d918d9b66088010ddcc99ab59 /tools/perf/scripts/python/netdev-times.py
parent15362c5ec49bbb5d7b244d2db2e1779f3220c04a (diff)
staging: comedi: refactor dt282x driver to remove forward declarations
Move the struct comedi_driver and variables to the end of the source. This is more typical of how other drivers are written and removes the need for the forward declarations. Convert the driver to use the module_comedi_driver() macro which makes the code smaller and a bit simpler. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions