summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-08-16 19:50:01 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-17 08:17:34 -0700
commitce774eab13606610df53301897e9c003476d7c6c (patch)
treeedc05e40898c0e1f766d0e3d7cd4432b75def33a /include/linux/errqueue.h
parent8b00a2f801866bd89a70f082cd0f322c7019d476 (diff)
staging: comedi: cb_pcimdda: cleanup the 8255 subdevice init
The dio_registers variable in the private data is only used to pass the base address to the 8255 subdevice. Remove the variable from the private data and pass the value directly to the subdev_8255_init() function. Make sure to check the return from subdev_8255_init(). That function can fail. For aesthetic reasons, rename the local variable 'err' to 'ret'. 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 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions