summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-10-24 16:31:14 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-24 19:35:49 -0700
commit618351aed1dc9b0340bc755ffc0dba6caf190299 (patch)
treed1226709732718ed37ac9a6ef3432782f81f4918 /scripts/cleanpatch
parent2730c736d99c766c6e6c7674c4be53fb0f9d3315 (diff)
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions