staging: comedi: daqboard2000: Remove function db2k_initialize_dac()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 25 Jul 2019 05:23:59 +0000 (10:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:48:14 +0000 (09:48 +0200)
commit28771088953f548a637c01cd59b62f9ee3018824
treefe6f42da27360b53c2fb6d6627a73214248f4f65
parent3e6998b17f36ab4f8f5608b3599df7b3c17d97a5
staging: comedi: daqboard2000: Remove function db2k_initialize_dac()

Remove function db2k_initialize_dac as all it does is call
db2k_dac_disarm.
Modify call site accordingly.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190725052359.2308-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/daqboard2000.c