]> Pileus Git - ~andy/linux/commit
staging: comedi: comedi_fops: cleanup comedi_{read, write}_subdevice()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 19 Dec 2012 22:44:46 +0000 (15:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:25:49 +0000 (14:25 -0800)
commit401d99de5c0b70f7d64a410ed01d19032698656c
tree66fff867ed438b284765c449828509bf3a26c8df
parent9682e28c49f85d4a3c5d2cab401d03ae266f6dde
staging: comedi: comedi_fops: cleanup comedi_{read, write}_subdevice()

Flip the info->device tests so than the return NULL occurs last.

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>
drivers/staging/comedi/comedi_fops.c