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
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
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);
|
struct ad9523_state *st = iio_priv(indio_dev);
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Add table
Reference in a new issue