staging: comedi: comedi_fops: rename comedi_set_subdevice_runflags()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 27 Mar 2015 15:13:00 +0000 (15:13 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:11:53 +0000 (13:11 +0200)
commitcc64ea4239c354d30f88130ecf5aa81a506b57e3
tree1545cc3205f0e2eedf39223d3fb5d7bc913ccb08
parent7928848997a708dcdf21e2d2f0875fe6764c5870
staging: comedi: comedi_fops: rename comedi_set_subdevice_runflags()

`comedi_set_subdevice_runflags()` changes the comedi subdevice's
`runflags` member according to a bit-mask and new bit values.  It's name
might suggest that it only "sets", not "clears".  Rename it to
`comedi_update_subdevice_runflags()` to avoid confusion.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c