From: H Hartley Sweeten Date: Thu, 5 Dec 2013 20:43:43 +0000 (-0700) Subject: staging: comedi: amplc_pc236: use dev->read_subdev X-Git-Tag: v3.14-rc1~150^2~524 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c82ea5b4a9ca1ff9c36e4f077898775d82f1dec4;p=pandora-kernel.git staging: comedi: amplc_pc236: use dev->read_subdev Use the dev->read_subdev that was setup in the device attach instead of accessing the dev->subdevices array directly. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed