RE: [PATCH 0/2] staging: comedi: hide subdevice runflags stuff

2015-04-21 Thread Hartley Sweeten
On Tuesday, April 21, 2015 5:18 AM, Ian Abbott wrote: > Keep the details of the comedi subdevice `runflags` member local to > "comedi_fops.c". In particular, the usage of the > `COMEDI_SRF_FREE_SPRIV` run-flag doesn't really fit in all that well > with the others. It's used as a marker to indicat

[PATCH 0/2] staging: comedi: hide subdevice runflags stuff

2015-04-21 Thread Ian Abbott
Keep the details of the comedi subdevice `runflags` member local to "comedi_fops.c". In particular, the usage of the `COMEDI_SRF_FREE_SPRIV` run-flag doesn't really fit in all that well with the others. It's used as a marker to indicate the subdevice's `private` pointer can be automatically freed