staging: comedi: addi_apci_2032: fix i_APCI2032_ReadWatchdog()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 30 Nov 2012 01:19:25 +0000 (18:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 02:05:30 +0000 (18:05 -0800)
commit7b5dd1cc988cf34341319c81bb0c7ddc21a2f8ee
tree555e5ca9e948a4f4513017b2a06931e6d33d3529
parent7180eb30deee6c05b8924348a7ac7d4deefcf56e
staging: comedi: addi_apci_2032: fix i_APCI2032_ReadWatchdog()

This function is used by the watchdog subdevice to read the status of
the watchdog. Rename the CamelCase function to apci2032_wdog_insn_read
and fix the function to return the status value insn->n times like
the comedi core expects.

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/addi_apci_2032.c