Re: [PATCH 32/90] staging: comedi: amplc_pc236: store the pci_dev in the comedi_device

2012-07-19 Thread Ian Abbott
On 2012-07-19 11:30, Ian Abbott wrote: On 2012-07-19 02:39, H Hartley Sweeten wrote: Use the hw_dev pointer in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Since the pci_dev is no longer held in the provate data, we can also cleanup the detach a bit.

Re: [PATCH 32/90] staging: comedi: amplc_pc236: store the pci_dev in the comedi_device

2012-07-19 Thread Ian Abbott
On 2012-07-19 02:39, H Hartley Sweeten wrote: Use the hw_dev pointer in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Since the pci_dev is no longer held in the provate data, we can also cleanup the detach a bit. Remove the IS_ENABLED() tests in the

Re: [PATCH 32/90] staging: comedi: amplc_pc236: store the pci_dev in the comedi_device

2012-07-19 Thread Ian Abbott
On 2012-07-19 02:39, H Hartley Sweeten wrote: Use the hw_dev pointer in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Since the pci_dev is no longer held in the provate data, we can also cleanup the detach a bit. Remove the IS_ENABLED() tests in the

Re: [PATCH 32/90] staging: comedi: amplc_pc236: store the pci_dev in the comedi_device

2012-07-19 Thread Ian Abbott
On 2012-07-19 11:30, Ian Abbott wrote: On 2012-07-19 02:39, H Hartley Sweeten wrote: Use the hw_dev pointer in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Since the pci_dev is no longer held in the provate data, we can also cleanup the detach a bit.

[PATCH 32/90] staging: comedi: amplc_pc236: store the pci_dev in the comedi_device

2012-07-18 Thread H Hartley Sweeten
Use the hw_dev pointer in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Since the pci_dev is no longer held in the provate data, we can also cleanup the detach a bit. Remove the IS_ENABLED() tests in the detach. If the pci_dev is non NULL it's a PCI

[PATCH 32/90] staging: comedi: amplc_pc236: store the pci_dev in the comedi_device

2012-07-18 Thread H Hartley Sweeten
Use the hw_dev pointer in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Since the pci_dev is no longer held in the provate data, we can also cleanup the detach a bit. Remove the IS_ENABLED() tests in the detach. If the pci_dev is non NULL it's a PCI