linux/drivers/staging/comedi
H Hartley Sweeten 89878614e2 staging: comedi: usbdux: return void from usbdux_pwm_pattern()
This function never fails and currently returns '1' so that the
usbdux_pwm_write() function returns to proper value (insn->n).

It's also called by usbdux_pwm_config() which also returns the '1'
value. The proper return code for this function should be '0' to
indicate success.

Change the return type of the function to void and just have the
callers return the proper values.

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>
2013-07-31 17:44:56 -07:00
..
drivers staging: comedi: usbdux: return void from usbdux_pwm_pattern() 2013-07-31 17:44:56 -07:00
kcomedilib staging: comedi: do not include <linux/delay.h> if its not needed 2013-07-23 14:07:26 -07:00
comedi.h staging: comedi: remove FSF address from boilerplate text 2013-05-13 17:34:22 -04:00
comedi_buf.c staging: comedi: comedi_buf: needs <linux/vmalloc.h> 2013-07-24 10:01:25 -07:00
comedi_compat32.c staging: comedi: remove FSF address from boilerplate text 2013-05-13 17:34:22 -04:00
comedi_compat32.h staging: comedi: remove FSF address from boilerplate text 2013-05-13 17:34:22 -04:00
comedi_fops.c Merge 3.11-rc3 into staging-next 2013-07-29 07:40:10 -07:00
comedi_internal.h staging: comedi: use a mutex when accessing driver list 2013-07-23 14:22:29 -07:00
comedi_pci.c staging: comedi: remove FSF address from boilerplate text 2013-05-13 17:34:22 -04:00
comedi_pcmcia.c staging: comedi: remove FSF address from boilerplate text 2013-05-13 17:34:22 -04:00
comedi_usb.c staging: comedi: introduce comedi_to_usb_dev() 2013-05-21 10:59:10 -07:00
comedidev.h staging: comedi: return void from comedi_driver_unregister() 2013-07-23 14:22:29 -07:00
comedilib.h staging: comedi: remove FSF address from boilerplate text 2013-05-13 17:34:22 -04:00
drivers.c staging: comedi: use a mutex when accessing driver list 2013-07-23 14:22:29 -07:00
Kconfig staging: comedi: Kconfig: COMEDI_NI_ATMIO doesn't need to depend on ISAPNP 2013-07-26 15:05:03 -07:00
Makefile staging: comedi: conditionally build in PCMCIA driver support 2013-01-31 10:38:10 +01:00
proc.c staging: comedi: use a mutex when accessing driver list 2013-07-23 14:22:29 -07:00
range.c staging: comedi: range: tidy up comedi_check_chanlist() 2013-07-25 13:20:17 -07:00
TODO MAINTAINERS: Update the list of maintainers for staging/comedi driver. 2013-07-24 09:51:18 -07:00