From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:13:39 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: tidy up the digital in and out subdevice init X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca1cc85b0ea5d1c9de91ffebf4d5272bb5a61dee;p=pandora-kernel.git staging: comedi: addi_apci_3xxx: tidy up the digital in and out subdevice init For aesthetic reasons, add some whitespace to the initialization of the digital input and output subdevices. Fix the subdev_flags for both subdevices. The SDF_GROUND and SDF_COMMON flags only apply to analog subdevices. Digital output subdevices do not need the SDF_READABLE flag set. Remove the initialization of s->io_bits. It only has meaning for COMEDI_SUBD_DIO subdevices. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed