staging: comedi: pcmuio: pointers should be cleared with NULL
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:17:03 +0000 (13:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:52 +0000 (15:03 -0700)
commit920e2ffbe243fb0555b2c238e26fe7dbc03db98c
tree453077b19cd49c2bf072a395892b64808ebe6921
parent765c3c64f76a786cd01f3b479ee63b79cb9343d0
staging: comedi: pcmuio: pointers should be cleared with NULL

Pointer variables should be cleared with NULL on 0. This quiets
some sparse warnings about:

warning: Using plain integer as NULL pointer

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/drivers/pcmuio.c