staging: comedi: vmk80xx: save the boardinfo in the comedi_device
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 6 Feb 2013 00:19:18 +0000 (17:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 02:07:09 +0000 (18:07 -0800)
commit0dd772bf76fca8d76a963de5bc378535e4d3cd39
tree8709fcf8009c6cf31c6bd46a0f9af24f8fa90226
parent20d6007755cb665d75ba34d6b9075b4cc02e816a
staging: comedi: vmk80xx: save the boardinfo in the comedi_device

Save a copy of the boardinfo pointer in the comedi_device 'board_ptr'.
The subdevice functions can then simply get it using the comedi_board()
helper.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/vmk80xx.c