From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:14:02 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: tidy up the ttl digital i/o subdevice init X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=383390cfd4aefad6e00d4738233aa89901211fdd;p=pandora-kernel.git staging: comedi: addi_apci_3xxx: tidy up the ttl digital i/o subdevice init For aesthetic reasons, add some whitespace to the initialization of the ttl digital i/o subdevices. Fix the subdev_flags for the subdevice. The SDF_GROUND and SDF_COMMON flags only apply to analog subdevices. Fix the s->iobits for the subdevice. According to the datasheet: Port 0 (channels 0-7) are always outputs Port 1 (channels 8-15) are always inputs Port 2 (channels 9-23) are programmable i/o (default to inputs) Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed