]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice
authorChase Southwood <chase.southwood@gmail.com>
Sat, 12 Jul 2014 22:44:09 +0000 (17:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:19:34 +0000 (13:19 -0700)
commit1496e5961113860e97e8fc39c4fdc0e83c1fbcab
treedef6c17857eda3ae30320681a9be7d501af237d6
parent99acc5ae9b9e544adb0921c16640293010360566
staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice

Use the addi_watchdog module to provide support for the watchdog
subdevice.

Also, rearrange the subdevice init blocks so that the order makes sense.
Digital input/output subdevices and subdevices for DI/DO interrupt
support, followed by timer/counter/watchdog subdevices is the new order.

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