[PATCH 0/8] staging: comedi: cleanup alloc_subdevices

From: H Hartley Sweeten
Date: Tue Jun 12 2012 - 14:56:27 EST


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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/