]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: comedi: pcmmio: cleanup the digital i/o register defines
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 9 Dec 2013 22:30:56 +0000 (15:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 18:02:12 +0000 (10:02 -0800)
commit03a36f172bf0e249b2671fe1f0d7e4552048f417
tree171b492c67b75a357fbdf21a1e01d5e3ce0ade79
parent0cc4f3bd5f562a391375a2187e411b6a037b29ce
staging: comedi: pcmmio: cleanup the digital i/o register defines

Redefine the registers used to access the digital i/o so that they
are based on the dev->iobase of the board instead of the 'asic_iobase'
that is stored in the private data.

Remove the then unused 'asic_iobase'.

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/pcmmio.c