forked from Minki/linux
iio: ad9523: Fix argument type mismatch
drivers/iio/frequency/ad9523.c:378 ad9523_vco_out_map() warn: value 2 can't fit into 1 'out' Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cf35ad61ac
commit
011c10c351
@ -361,7 +361,7 @@ static int ad9523_io_update(struct iio_dev *indio_dev)
|
||||
}
|
||||
|
||||
static int ad9523_vco_out_map(struct iio_dev *indio_dev,
|
||||
unsigned ch, bool out)
|
||||
unsigned ch, unsigned out)
|
||||
{
|
||||
struct ad9523_state *st = iio_priv(indio_dev);
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user