diff options
| author | H Hartley Sweeten <[email protected]> | 2015-11-18 10:07:11 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-21 15:57:40 -0800 |
| commit | 66f516e6a31e24972b1768453c2bd1abac273ff1 (patch) | |
| tree | d8f8b151529b3a4038981dfeee2f384be06047af /scripts/gdb/linux/__init__.py | |
| parent | 039c5c1b27e786cd92c130559800f88625988dee (diff) | |
staging: comedi: adv_pci_dio: use the diosubd_data 'addr' for di/do s->private
Currently the di/do subdevices store a pointer to the diosubd_data in s->private.
The (*insn_bits) functions then use that to get to the 'addr' needed to access
the registers.
The only member of diosubd_data that is needed by the (*insn_bits) functions is
the 'addr'. For aesthetics, just store the 'addr' in s->private.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/__init__.py')
0 files changed, 0 insertions, 0 deletions