iio: amplifiers: ad8366: Use right order for type specification
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Tue, 30 Dec 2014 18:45:44 +0000 (20:45 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 1 Jan 2015 12:16:57 +0000 (12:16 +0000)
This patch fixes the following checkpatch.pl warning:
WARNING: type 'char unsigned' should be specified in [[un]signed]
[short|int|long|long long] order

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/amplifiers/ad8366.c

index fce25a0ac372fac3a4eac7d9870788e820880f1a..c0d364ebaea83efd39ef919f21011423ee78288e 100644 (file)
@@ -31,7 +31,7 @@ struct ad8366_state {
 };
 
 static int ad8366_write(struct iio_dev *indio_dev,
-                       unsigned char ch_a, char unsigned ch_b)
+                       unsigned char ch_a, unsigned char ch_b)
 {
        struct ad8366_state *st = iio_priv(indio_dev);
        int ret;