From: H Hartley Sweeten Date: Fri, 25 Jan 2013 22:02:28 +0000 (-0700) Subject: staging: comedi: quatech_daqp_cs: cleanup subdevice init X-Git-Tag: v3.9-rc1~127^2~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c0afa4b68c7b1cacaa4511721347682f7e1558;p=pandora-kernel.git staging: comedi: quatech_daqp_cs: cleanup subdevice init Remove the dev_info() board attach noise. For aesthetic reasons, add some whitespace to the subdevice init. Remove the init of the s->len_chanlist for the subdevices that do not support commands. It's not used by them and the comedi core will handle initializing it properly in the postconfig. Change the return after a successful attach to "0". The comedi core expects a < 0 value to indicate an error and "0" is the typical value returned to indicate success. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed