]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_tio.h: remove subdev_to_counter()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 19 Dec 2013 23:31:59 +0000 (16:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 19:49:33 +0000 (11:49 -0800)
commit00edbc31d8f6c84870041d5841663e72b449b170
tree6d9558c1c9c86b9eabcf7b1e810ea118632a9a28
parentc2e11bb11d81f6db875975ac6210f3805e4f2d61
staging: comedi: ni_tio.h: remove subdev_to_counter()

This inline helper function simply returns the s->private void *.
Remove the helper and just get the s->private void * directly where
needed.

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