aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2012-05-04 17:02:38 -0700
committerGreg Kroah-Hartman <[email protected]>2012-05-09 13:33:41 -0700
commite0eaa10d4d23e35a2bf6ac4b3dff81ae30b0d7e5 (patch)
tree98fd64ff623bc69d918d9b66088010ddcc99ab59 /tools/perf/scripts/python/net_dropmonitor.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 <[email protected]> Cc: Ian Abbott <[email protected]> Cc: Mori Hess <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions