staging: comedi: remove comedi_dev_from_minor()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 8 Nov 2013 15:03:41 +0000 (15:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2013 00:16:45 +0000 (16:16 -0800)
commit49445b9117a6e9ca9a741251784432a1da2f9919
tree488a1bbb62c4b8482e697e9b9aa4ebfde29ad4e2
parente5d670dcb7b336fb0c2fcff29ce87892e492e6b3
staging: comedi: remove comedi_dev_from_minor()

The `comedi_dev_from_minor()` function is no longer used, so remove it.
Calls to it have either been replaced by calls to
`comedi_dev_get_from_minor()` or by using the `private_data` member of
the open file object.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/comedidev.h