From: H Hartley Sweeten Date: Thu, 5 Dec 2013 20:43:30 +0000 (-0700) Subject: staging: comedi: dt2814: use dev->read_subdev X-Git-Tag: v3.14-rc1~150^2~537 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d483850f4c378ec15e4b1eafcbc2ae845fc67e;p=pandora-kernel.git staging: comedi: dt2814: 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