staging: comedi: move 'struct pci_dev *' into comedi_device
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest30 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | staging: comedi: add pci_dev pointer to comedi_devicedrivers/ | +2 | 4 replies | |
| 2/30 | staging: comedi: adl_pci6208: use comedi_device pci_dev pointerdrivers/ | +7 | 0 replies | |
| 3/30 | staging: comedi: adl_pci7230: use comedi_device pci_dev pointerdrivers/ | +7 | 0 replies | |
| 4/30 | staging: comedi: adl_pci7230: remove private datadrivers/ | +0 | 0 replies | |
| 5/30 | staging: comedi: adl_pci7296: use comedi_device pci_dev pointerdrivers/ | +7 | 0 replies | |
| 6/30 | staging: comedi: adl_pci7296: remove private datadrivers/ | +0 | 0 replies | |
| 7/30 | staging: comedi: adl_pci7432: use comedi_device pci_dev pointerdrivers/ | +7 | 0 replies | |
| 8/30 | staging: comedi: adl_pci7432: remove private datadrivers/ | +0 | 0 replies | |
| 9/30 | staging: comedi: adl_pci8164: use comedi_device pci_dev pointerdrivers/ | +7 | 0 replies | |
| 10/30 | staging: comedi: adl_pci8164: remove private datadrivers/ | +0 | 0 replies | |
| 11/30 | staging: comedi: adl_pci9111: use comedi_device pci_dev pointerdrivers/ | +12 | 0 replies | |
| 12/30 | staging: comedi: adl_pci9118: use comedi_device pci_dev pointerdrivers/ | +11 | 0 replies | |
| 13/30 | staging: comedi: cb_pcidas: use comedi_device pci_dev pointerdrivers/ | +15 | 0 replies | |
| 14/30 | staging: comedi: cb_pcidio: factor out the "find pci device" codedrivers/ | +29 | 0 replies | |
| 15/30 | staging: comedi: cb_pcidio: cleanup the "find pci device" codedrivers/ | +18 | 0 replies | |
| 16/30 | staging: comedi: cb_pcidio: use comedi_device pci_dev pointerdrivers/ | +8 | 0 replies | |
| 17/30 | staging: comedi: cb_pcidio: use comedi_device iobasedrivers/ | +5 | 0 replies | |
| 18/30 | staging: comedi: cb_pcidio: remove private datadrivers/ | +0 | 0 replies | |
| 19/30 | staging: comedi: contec_pci_dio: factor out the "find pci device" codedrivers/ | +49 | 0 replies | |
| 20/30 | staging: comedi: contec_pci_dio: cleanup the "find pci device" codedrivers/ | +12 | 0 replies | |
| 21/30 | staging: comedi: contec_pci_dio: use comedi_device pci_dev pointerdrivers/ | +7 | 0 replies | |
| 22/30 | staging: comedi: contec_pci_dio: remove private datadrivers/ | +0 | 0 replies | |
| 23/30 | staging: comedi: dyna_pci10xx: factor out the "find pci device" codedrivers/ | +44 | 0 replies | |
| 24/30 | staging: comedi: dyna_pci10xx: cleanup the "find pci device" codedrivers/ | +16 | 0 replies | |
| 25/30 | staging: comedi: dyna_pci10xx: use comedi_device pci_dev pointerdrivers/ | +12 | 0 replies | |
| 26/30 | staging: comedi: dyna_pci10xx: remove unused variables in the private datadrivers/ | +1 | 0 replies | |
| 27/30 | staging: comedi: dyna_pci10xx: use comedi_device iobasedrivers/ | +5 | 0 replies | |
| 28/30 | staging: comedi: ke_counter: factor out the "find pci device" codedrivers/ | +28 | 0 replies | |
| 29/30 | staging: comedi: ke_counter: cleanup the "find pci device" codedrivers/ | +23 | 0 replies | |
| 30/30 | staging: comedi: ke_counter: use comedi_device pci_dev pointerdrivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/30] staging: comedi: move 'struct pci_dev *' into comedi_device
All the comedi pci drivers have a struct pci_dev * in their private data to hold the pointer to the pci device. Some of the drivers only have private data because of this pointer.
Move the variable into the comedi_device struct and remove the private data for the drivers that no longer need it.
This only updates the drivers that have been cleaned up enough or only need simple changes to make the conversion. The other comedi pci drivers will be converted to use the common pci_dev pointer as they are cleaned up.
The cb_pcidio and dyna_pci10xx drivers have a bit of additional cleanup to remove some of the unneeded private data variables and to use the comedi_device iobase variable.
H Hartley Sweeten (30):
staging: comedi: add pci_dev pointer to comedi_device
staging: comedi: adl_pci6208: use comedi_device pci_dev pointer
staging: comedi: adl_pci7230: use comedi_device pci_dev pointer
staging: comedi: adl_pci7230: remove private data
staging: comedi: adl_pci7296: use comedi_device pci_dev pointer
staging: comedi: adl_pci7296: remove private data
staging: comedi: adl_pci7432: use comedi_device pci_dev pointer
staging: comedi: adl_pci7432: remove private data
staging: comedi: adl_pci8164: use comedi_device pci_dev pointer
staging: comedi: adl_pci8164: remove private data
staging: comedi: adl_pci9111: use comedi_device pci_dev pointer
staging: comedi: adl_pci9118: use comedi_device pci_dev pointer
staging: comedi: cb_pcidas: use comedi_device pci_dev pointer
staging: comedi: cb_pcidio: factor out the "find pci device" code
staging: comedi: cb_pcidio: cleanup the "find pci device" code
staging: comedi: cb_pcidio: use comedi_device pci_dev pointer
staging: comedi: cb_pcidio: use comedi_device iobase
staging: comedi: cb_pcidio: remove private data
staging: comedi: contec_pci_dio: factor out the "find pci device"
code
staging: comedi: contec_pci_dio: cleanup the "find pci device" code
staging: comedi: contec_pci_dio: use comedi_device pci_dev pointer
staging: comedi: contec_pci_dio: remove private data
staging: comedi: dyna_pci10xx: factor out the "find pci device" code
staging: comedi: dyna_pci10xx: cleanup the "find pci device" code
staging: comedi: dyna_pci10xx: use comedi_device pci_dev pointer
staging: comedi: dyna_pci10xx: remove unused variables in the private
data
staging: comedi: dyna_pci10xx: use comedi_device iobase
staging: comedi: ke_counter: factor out the "find pci device" code
staging: comedi: ke_counter: cleanup the "find pci device" code
staging: comedi: contec_pci_dio: use comedi_device pci_dev pointer
drivers/staging/comedi/comedidev.h | 2 + drivers/staging/comedi/drivers/adl_pci6208.c | 17 ++-- drivers/staging/comedi/drivers/adl_pci7230.c | 24 ++--- drivers/staging/comedi/drivers/adl_pci7296.c | 24 ++--- drivers/staging/comedi/drivers/adl_pci7432.c | 24 ++--- drivers/staging/comedi/drivers/adl_pci8164.c | 24 ++--- drivers/staging/comedi/drivers/adl_pci9111.c | 25 +++-- drivers/staging/comedi/drivers/adl_pci9118.c | 23 +++-- drivers/staging/comedi/drivers/cb_pcidas.c | 31 +++--- drivers/staging/comedi/drivers/cb_pcidio.c | 115 ++++++++--------------- drivers/staging/comedi/drivers/contec_pci_dio.c | 119 +++++++++++------------ drivers/staging/comedi/drivers/dyna_pci10xx.c | 120 +++++++++--------------- drivers/staging/comedi/drivers/ke_counter.c | 108 +++++++++------------ 13 files changed, 258 insertions(+), 398 deletions(-)
Signature · 1 line
1.7.11