From: H Hartley Sweeten Date: Mon, 9 Dec 2013 22:30:44 +0000 (-0700) Subject: staging: comedi: pcmmio: tidy up the ai subdevice init X-Git-Tag: v3.14-rc1~150^2~334 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=170f13cca869605bd77150cb931a8cd8d35e73e3;p=pandora-kernel.git staging: comedi: pcmmio: tidy up the ai subdevice init Add some whitespace to the ai subdevice init and reorder it a bit to follow the "norm" in comedi drivers. Remove the init of s->len_chanlist. This member is only used with subdevices that support async commands. The core will default the value correctly.. The ai subdevice only uses the s->private member to pass the iobase to the analog input registers. It's just a copy of the dev->iobase, use that instead. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed