]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: comedi: ni_labpc: don't pass dev->iobase to labpc_counter_set_mode()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 29 Jul 2014 22:01:41 +0000 (15:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:55:16 +0000 (16:55 -0700)
commit7c555f06fb6afc9e83b8b375e8cf131cfe355e95
tree6eddc945a89f80468e7c58d7c4bd05cf743efed4
parent3f1ecb9b429eb909cee4ab35b34cb8de5e0b3f78
staging: comedi: ni_labpc: don't pass dev->iobase to labpc_counter_set_mode()

Use the comedi_device parameter that is passed to this function to find
the dev->iobase so it does not have to be included in each call.

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_labpc.c