staging: comedi: ni_daq_700: cleanup the driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest31 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/31 | staging: comedi: ni_daq_700: remove exported symbolsdrivers/ | +7 | 0 replies | |
| 2/31 | staging: comedi: ni_daq_700: move the MODULE_* stuff to the EOFdrivers/ | +5 | 0 replies | |
| 3/31 | staging: comedi: ni_daq_700: add the module_{init,exit} declarationsdrivers/ | +4 | 0 replies | |
| 4/31 | staging: comedi: ni_daq_700: consolidate the init and exit functionsdrivers/ | +2 | 0 replies | |
| 5/31 | staging: comedi: ni_daq_700: change driver registration orderdrivers/ | +8 | 0 replies | |
| 6/31 | staging: comedi: ni_daq_700: cleanup to the pcmcia_driver declarationdrivers/ | +7 | 0 replies | |
| 7/31 | staging: comedi: ni_daq_700: remove some useless commentsdrivers/ | +6 | 0 replies | |
| 8/31 | staging: comedi: ni_daq_700: refactor the pcmcia support codedrivers/ | +36 | 0 replies | |
| 9/31 | staging: comedi: ni_daq_700: Move the comedi_driver variabledrivers/ | +10 | 0 replies | |
| 10/31 | staging: comedi: ni_daq_700: Remove the unused private data structdrivers/ | +0 | 0 replies | |
| 11/31 | staging: comedi: ni_daq_700: Remove a "do nothing" function stubdrivers/ | +0 | 0 replies | |
| 12/31 | staging: comedi: ni_daq_700: Remove unused variables from the boardinfodrivers/ | +0 | 0 replies | |
| 13/31 | staging: comedi: ni_daq_700: Remove unneeded variables from the boardinfodrivers/ | +0 | 0 replies | |
| 14/31 | staging: comedi: ni_daq_700: Remove bustype variable from the boardinfodrivers/ | +6 | 0 replies | |
| 15/31 | staging: comedi: ni_daq_700: move the boardinfo variabledrivers/ | +8 | 0 replies | |
| 16/31 | staging: comedi: ni_daq_700: remove thisboard macrodrivers/ | +1 | 0 replies | |
| 17/31 | staging: comedi: ni_daq_700: remove unused private data variabledrivers/ | +1 | 1 reply | |
| 18/31 | staging: comedi: ni_daq_700: remove the CALLBACK_* codedrivers/ | +2 | 0 replies | |
| 19/31 | staging: comedi: ni_daq_700: remove a couple unused definesdrivers/ | +0 | 0 replies | |
| 20/31 | staging: comedi: ni_daq_700: remove the subdev_700_init functiondrivers/ | +10 | 0 replies | |
| 21/31 | staging: comedi: ni_daq_700: remove the #ifdef'ed out irq codedrivers/ | +2 | 0 replies | |
| 22/31 | staging: comedi: ni_daq_700: change the 'attach' printk's to dev_printk'sdrivers/ | +6 | 0 replies | |
| 23/31 | staging: comedi: ni_daq_700: remove local variable in the 'attach' functiondrivers/ | +2 | 0 replies | |
| 24/31 | staging: comedi: ni_daq_700: remove some dangling ';'drivers/ | +2 | 0 replies | |
| 25/31 | staging: comedi: ni_daq_700: use a local var to fix a > 80 char line issuedrivers/ | +2 | 0 replies | |
| 26/31 | staging: comedi: ni_daq_700: fix return for insn_config functiondrivers/ | +1 | 0 replies | |
| 27/31 | staging: comedi: ni_daq_700: cleanup pcmcia debug output messagesdrivers/ | +4 | 0 replies | |
| 28/31 | staging: comedi: ni_daq_700: remove unused pcmcia 'stop' logicdrivers/ | +0 | 0 replies | |
| 29/31 | staging: comedi: ni_daq_700: remove unneeded pcmcia private datadrivers/ | +0 | 0 replies | |
| 30/31 | staging: comedi: ni_daq_700: remove the pcmcia suspend/resumedrivers/ | +0 | 0 replies | |
| 31/31 | staging: comedi: ni_daq_700: refactor the pcmcia attach/detachdrivers/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/31] staging: comedi: ni_daq_700: cleanup the driver
This is a full cleanup of the ni_daq_700 comedi driver.
This driver was originally based on the 8255 driver which exports a subdevice interface used by other comedi drivers. This makes the ni_daq_700 driver overly complex. Also, the exported symbols in it are not referenced by any other code or declared in any headers.
The pcmcia support code in this driver is also overly complex. All the driver needs from the pcmcia support is for the device to be enabled and to get the iobase address of the card. Everything else appears to be cut-and-paste from other drivers.
H Hartley Sweeten (31):
staging: comedi: ni_daq_700: remove exported symbols
staging: comedi: ni_daq_700: move the MODULE_* stuff to the EOF
staging: comedi: ni_daq_700: add the module_{init,exit} declarations
staging: comedi: ni_daq_700: consolidate and init and exit functions
staging: comedi: ni_daq_700: change driver registration order
staging: comedi: ni_daq_700: cleanup to the pcmcia_driver declaration
staging: comedi: ni_daq_700: remove some useless comments
staging: comedi: ni_daq_700: refactor the pcmcia support code
staging: comedi: ni_daq_700: Move the comedi_driver variable
staging: comedi: ni_daq_700: Remove the unused private data struct
staging: comedi: ni_daq_700: Remove a "do nothing" function stub
staging: comedi: ni_daq_700: Remove unused variables from the
boardinfo
staging: comedi: ni_daq_700: Remove unneeded variables from the
boardinfo
staging: comedi: ni_daq_700: Remove bustype variable from the
boardinfo
staging: comedi: ni_daq_700: move the boardinfo variable
staging: comedi: ni_daq_700: remove thisboard macro
staging: comedi: ni_daq_700: remove unused private data variable
staging: comedi: ni_daq_700: remove the CALLBACK_* code
staging: comedi: ni_daq_700: remove a couple unused defines
staging: comedi: ni_daq_700: remove the subdev_700_init function
staging: comedi: ni_daq_700: remove the #ifdef'ed out irq code
staging: comedi: ni_daq_700: change to 'attach' printk's to
dev_printk's
staging: comedi: ni_daq_700: remove local variable in the 'attach'
function
staging: comedi: ni_daq_700: remove some dangling ';'
staging: comedi: ni_daq_700: use a local var to fix a > 80 char line
issue
staging: comedi: ni_daq_700: fix return for insn_config function
staging: comedi: ni_daq_700: cleanup pcmcia debug output messages
staging: comedi: ni_daq_700: remove unused pcmcia 'stop' logic
staging: comedi: ni_daq_700: remove unneeded pcmcia private data
staging: comedi: ni_daq_700: remove the pcmcia suspend/resume
staging: comedi: ni_daq_700: refactor the pcmcia attach/detach
drivers/staging/comedi/drivers/ni_daq_700.c | 508 +++++----------------------- 1 file changed, 81 insertions(+), 427 deletions(-)
Signature · 1 line
1.7.11