addi-data: Get rid of redundant ps_BoardInfo
authorIan Abbott <abbotti@mev.co.uk>
Mon, 16 May 2011 15:06:32 +0000 (16:06 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 16 May 2011 15:06:32 +0000 (16:06 +0100)
commite4fc938e31d04b652ade40f7103a0f59c5983d7e
tree7df2ed38e19d729c615954b7b0a11194cb9103b6
parent21cc86f936e2d0a8f166d8d6c77c6a46263d22c8
addi-data: Get rid of redundant ps_BoardInfo

The ps_BoardInfo pointer in the device private data is redundant as we
can just use the this_board macro to access the same data, as is done
elsewhere in the code.  Get rid of the pointer and change the code to
use the this_board macro instead.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/addi-data/addi_common.c
comedi/drivers/addi-data/addi_common.h
comedi/drivers/addi-data/hwdrv_apci16xx.c
comedi/drivers/addi-data/hwdrv_apci3xxx.c