staging: comedi: c6xdigio: remove unnecessary c6xdigio_pwmo_insn_read()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 17:21:27 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Nov 2013 17:55:17 +0000 (09:55 -0800)
commitd59e3c2473fd451577aea192be741e1a2bdb4c2b
treefd211c1c3d7f84bc7bfc3b307f23683704ea1d7e
parentc4815b3d2cf43b9136e356839ed71847ad042b65
staging: comedi: c6xdigio: remove unnecessary c6xdigio_pwmo_insn_read()

The pwm subdevice in this driver sets the subdev_flags to SDF_WRITEABLE
so the s->insn_read callback is not needed. Since this callback simply
outputs a printk(KERN_DEBUG ... message jsut remove it.

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