diff options
author | H Hartley Sweeten <[email protected]> | 2012-09-19 16:21:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-09-21 09:24:17 -0700 |
commit | 94174847ea41b1c2a44d997f2850530fb33f41cd (patch) | |
tree | a3f9d40980fcd0f142f0727658966de0b3cb04ee /net/unix/af_unix.c | |
parent | 1e12ca3407850641fc72adb620eee8a8e6dd8c90 (diff) |
staging: comedi: me_daq: use attach_pci callback
Convert this PCI driver to use the comedi PCI auto config attach
mechanism by adding an 'attach_pci' callback function. Since the
driver does not require any external configuration options. and
the legacy 'attach' callback is now optional, remove it.
Also, make the boardinfo 'name' unique for the different board types.
Use this name when requesting the PCI resources. Change the printk
at the end of the attach into a dev_info.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions