iio: mlx90614: Fix duplicate const warning
authorVianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
Fri, 17 Apr 2015 14:05:35 +0000 (16:05 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 18 Apr 2015 18:57:47 +0000 (19:57 +0100)
Fix a typo triggering a duplicate const warning on some compilers.

Signed-off-by: Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/temperature/mlx90614.c

index 06b7b967798233c1fb1c7fb1cd9edb4f81523821..b2d3b56f1260adc6b9bc612c201867b9351860fd 100644 (file)
@@ -263,7 +263,7 @@ static int mlx90614_write_raw(struct iio_dev *indio_dev,
 }
 
 static int mlx90614_write_raw_get_fmt(struct iio_dev *indio_dev,
-                                    const struct iio_chan_spec const *channel,
+                                    struct iio_chan_spec const *channel,
                                     long mask)
 {
        switch (mask) {