]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: 8255: check for failure of subdev_8255_init
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 13 Jun 2012 22:42:28 +0000 (15:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:19:15 +0000 (17:19 -0700)
commit3e189f08ef81e27aeccd2c2fb55175451f9faa71
tree58fa18f3043a2e13ea47bc9b2813c4c0da5633ab
parent34cfcf9acc6b0697e71294007c57eae91b80005c
staging: comedi: 8255: check for failure of subdev_8255_init

The initialization of the 8255 subdevice can fail. Make sure to
check for it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/8255.c