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