From: H Hartley Sweeten Date: Mon, 9 Dec 2013 22:31:00 +0000 (-0700) Subject: staging: comedi: pcmmio: simplify pcmmio_dio_insn_config() X-Git-Tag: v3.14-rc1~150^2~318 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c7692a9d737926090b51fd132ae816d1556713;p=pandora-kernel.git staging: comedi: pcmmio: simplify pcmmio_dio_insn_config() Currently this function uses the subdevice private data to get the iobase address needed to update the channel configuration. This subdevice private data is in the process of being removed. Use the subdevice 'index' to determine the base 'port' needed to access the correct digital i/o registers. The pcmmio_dio_write() function can then be used to update the configuration. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed