diff options
| author | H Hartley Sweeten <[email protected]> | 2012-05-04 17:02:38 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-05-09 13:33:41 -0700 |
| commit | e0eaa10d4d23e35a2bf6ac4b3dff81ae30b0d7e5 (patch) | |
| tree | 98fd64ff623bc69d918d9b66088010ddcc99ab59 /tools/perf/scripts/python/bin | |
| parent | 15362c5ec49bbb5d7b244d2db2e1779f3220c04a (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/bin')
0 files changed, 0 insertions, 0 deletions