diff options
| author | 2012-08-16 11:14:19 +0100 | |
|---|---|---|
| committer | 2012-08-16 11:33:16 -0700 | |
| commit | 6c292278288f9b29f994fe54cbe11cc30d021218 (patch) | |
| tree | de603eeab871a6c46304429211bbf75c3398c440 /scripts/basic | |
| parent | staging: comedi: amplc_pc263: add helper functions to check bus type (diff) | |
staging: comedi: amplc_pc263: check bus type in detach routine
When detaching the device in pc263_detach() mirror the bus type checks
performed by pc263_attach(). The existing tests are safe but rely on
dev->iobase being 0 when comedi_to_pci_dev(dev) is NULL.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
