diff options
| author | H Hartley Sweeten <[email protected]> | 2012-07-02 18:10:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-07-06 15:51:20 -0700 |
| commit | 17f49dd46c5db2912d2dd985f400f6237fd30255 (patch) | |
| tree | 1fa5b3e9436e0cddc28e19ab4622b6083ae5e406 /tools/perf/scripts/python | |
| parent | 6f88a20a7ff0b8724b9832c139fc06095e71b9bf (diff) | |
staging: comedi: dmm32at: use module_comedi_driver
Convert driver to use the module_comedi_driver() macro to remove
some of the boilerplate.
Move the comedi_driver variable to the end of the file to keep it
with the module_comedi_driver() macro. This also removes the need
for some of the forward declarations. While moving the variable:
1) strip out the unnecessary cut-and-paste skel driver comments
2) add whitespace to improve the readability
3) rename the variable from driver* to *driver
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions