From: H Hartley Sweeten Date: Wed, 24 Oct 2012 23:31:14 +0000 (-0700) Subject: staging: comedi: cb_pcidda: check for subdev_8255_init() failure X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~995 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=618351aed1dc9b0340bc755ffc0dba6caf190299;p=pandora-kernel.git staging: comedi: cb_pcidda: check for subdev_8255_init() failure The subdev_8255_init() can fail, make sure to check for it. This board has two 8255 subdevices, one at iobase PCI bar2 and one at iobase PCI bar2 + 4. Init the subdevices using a for() loop to make the code a bit more concise. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed