staging: comedi: change comedi_alloc_subdevice_minor parameters
authorIan Abbott <abbotti@mev.co.uk>
Fri, 1 Feb 2013 10:20:30 +0000 (10:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 01:43:28 +0000 (17:43 -0800)
commitf65cc5447eaea9f7be1ff54e27c9658a66c5910f
treea2b34fcc05f79b70bf6cd670ddbd2679e2db9a61
parente9ab1c2f7eb6bc5d885429381e773bc1a61646ca
staging: comedi: change comedi_alloc_subdevice_minor parameters

`comedi_alloc_subdevice_minor()` doesn't really need a parameter
pointing to a `struct comedi_device` as it can get this information from
the parameter pointing to a `struct comedi_subdevice`.  Just pass the
subdevice parameter.

Signed-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/comedi_internal.h
drivers/staging/comedi/drivers.c