[S390] cio: fix sanity checks in device_ops.
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 12 Jun 2009 08:26:27 +0000 (10:26 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 Jun 2009 08:27:31 +0000 (10:27 +0200)
Some sanity checks in device_ops.c test the output of container_of
macros to be !NULL. Test the input parameters instead.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found