summaryrefslogtreecommitdiffstats
path: root/drivers/iio/amplifiers
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2014-12-30 19:45:44 +0100
committerJonathan Cameron <jic23@kernel.org>2015-01-01 13:16:57 +0100
commitff6f46295d81fab7ef7379761ea87ba71cc13fce (patch)
tree18fa661df557d21bd8ea026dfc44abaaac120711 /drivers/iio/amplifiers
parentiio: amplifiers: ad8366: Remove space before ',' (diff)
downloadlinux-ff6f46295d81fab7ef7379761ea87ba71cc13fce.tar.xz
linux-ff6f46295d81fab7ef7379761ea87ba71cc13fce.zip
iio: amplifiers: ad8366: Use right order for type specification
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>
Diffstat (limited to 'drivers/iio/amplifiers')
-rw-r--r--drivers/iio/amplifiers/ad8366.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/amplifiers/ad8366.c b/drivers/iio/amplifiers/ad8366.c
index fce25a0ac372..c0d364ebaea8 100644
--- a/drivers/iio/amplifiers/ad8366.c
+++ b/drivers/iio/amplifiers/ad8366.c
@@ -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;