iio: staging: ad7298_ring: Fix maybe-uninitialized warning
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 16 Jul 2012 08:42:00 +0000 (09:42 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 16 Aug 2012 19:24:32 +0000 (20:24 +0100)
commitdfffd0d65fdf16d034681716dcbea74776f62e40
tree4f7922f79c0fccadb013518bd1dff7e88273c2c9
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
iio: staging: ad7298_ring: Fix maybe-uninitialized warning

drivers/staging/iio/adc/ad7298_ring.c:97:37: warning: 'time_ns' may
be used uninitialized in this function [-Wmaybe-uninitialized]

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7298_ring.c