From: H Hartley Sweeten Date: Mon, 17 Feb 2014 21:26:48 +0000 (-0700) Subject: staging: comedi: pcl812: clarify dma channel request in pcl812_attach() X-Git-Tag: v3.15-rc1~139^2~990 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27f3f4d411cb700a5514bfdf93929d1402683061;p=pandora-kernel.git staging: comedi: pcl812: clarify dma channel request in pcl812_attach() All the board types that can do DMA can use DMA channels 3 or 1. Remove the 'DMAbits', which is a mask of the valid channels, from the boardinfo and replace it with a bit-field flag 'has_dma'. Refactor pcl812_attach() to use the new flag and remove the need for the goto. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed