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

H Hartley Sweeten hartleys at visionengravers.com
Tue Jun 12 18:56:11 UTC 2012


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 at visionengravers.com>



More information about the devel mailing list