diff options
| author | 2015-11-18 10:07:12 -0700 | |
|---|---|---|
| committer | 2015-12-21 15:57:40 -0800 | |
| commit | 2001807e25d9a645cfaa28e893a0a5968f6b38a0 (patch) | |
| tree | c879d520e2d6227be98fe94541faf78aa688ca2f /scripts/objdiff | |
| parent | staging: comedi: adv_pci_dio: use the diosubd_data 'addr' for di/do s->private (diff) | |
staging: comedi: adv_pci_dio: simplify the 'boardid' boardinfo
The "board id" register is always 4-bits (4 di channels) and the register
used to read the bits is always > 0.
Simplify the 'boardid' boardinfo by replacing it with a 'id_reg' member
and open-coding the subdevice n_chan.
For aesthetics, remove all the *_BOARDID defines and just open-code the
register values in the boardinfo.
Add the missing boardinfo for the pci1739 board id register and increase
the nsubdevs to handle it.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
