Cleanup the comedi core "alloc_subdevices" function and it's use in the comedi drivers. staging: comedi: add namespace to comedi's alloc_subdevices() function staging: comedi: change type of num_subdevices parameter to comedi_alloc_subdevices staging: comedi: sanity check num_subdevices parameter in comedi_alloc_subdevices staging: comedi: only set dev->n_subdevices when kcalloc succeedes staging: comedi: remove the comed_alloc_subdevices "allocation failed" messages staging: comedi: remove the "Allocate the subdevice..." comments staging: comedi: propogate error code from comedi_alloc_subdevices staging: comedi: cleanup comedi_alloc_subdevices Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel