From: H Hartley Sweeten Date: Mon, 17 Feb 2014 21:26:53 +0000 (-0700) Subject: staging: comedi: pcl812: tidy up digital subdevice boardinfo X-Git-Tag: v3.15-rc1~139^2~985 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1aad5c3336802422ab66f1481531cf79aed3aa;p=pandora-kernel.git staging: comedi: pcl812: tidy up digital subdevice boardinfo For the board types that have digital inputs and outputs there are always 16 input channels and 16 output channels. Remove the 'n_dichan' and 'n_dochan' members in the boardinfo and replace them with a bit-field flag 'has_dio'. Refactor pcl812_attach() to use the new boardinfo. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed