Staging: iio: ring_sw.c: fix up sparse warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 May 2010 05:33:27 +0000 (22:33 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:11 +0000 (11:36 -0700)
commit19ca92e0bca3499a12eb9b612b90bbe90d2cc895
tree4ecf950ebf9bb42e6d9bfdc71d05c5159eb5843e
parent0deebb4fc4784699afec04231f981aaad3126ff9
Staging: iio: ring_sw.c: fix up sparse warnings

NULL usage, static stuff, etc.

Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/ring_sw.c