3.2.95-rc1 review patch.  If anyone has any objections, please let me know.

------------------

From: Leed Aguilar <[email protected]>

commit 4d9505af7743828464d066795c6e1311c7884db4 upstream.

Removed the following sparse warning:

In function 'adis16080_read_raw':
warning: 'ut' may be used uninitialized in this function

Signed-off-by: Leed Aguilar <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
---
 drivers/staging/iio/gyro/adis16080_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/staging/iio/gyro/adis16080_core.c
+++ b/drivers/staging/iio/gyro/adis16080_core.c
@@ -82,7 +82,7 @@ static int adis16080_read_raw(struct iio
                             long mask)
 {
        int ret = -EINVAL;
-       u16 ut;
+       u16 ut = 0;
        /* Take the iio_dev status lock */
 
        mutex_lock(&indio_dev->mlock);

Reply via email to