diff options
author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2023-08-30 12:43:14 +0300 |
---|---|---|
committer | Jonathan Cameron <jonathan.cameron@huawei.com> | 2023-09-12 12:42:04 +0300 |
commit | 8aa6e6682f3624dca0cfbc3824e2d9937e58ca59 (patch) | |
tree | cc89206ca46e1131972905a5269faf99c2042926 | |
parent | 3a23b384e7e3d64d5587ad10729a34d4f761517e (diff) | |
download | linux-8aa6e6682f3624dca0cfbc3824e2d9937e58ca59.tar.xz |
iio: addac: ad74413r: fix function prefix typo
Use complete device name prefix in the input current offset getter
function.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230830094314.26353-1-antoniu.miclaus@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | drivers/iio/addac/ad74413r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/addac/ad74413r.c b/drivers/iio/addac/ad74413r.c index 6b0e8218f150..75216ece7ad6 100644 --- a/drivers/iio/addac/ad74413r.c +++ b/drivers/iio/addac/ad74413r.c @@ -705,8 +705,8 @@ static int ad74413r_get_input_current_scale(struct ad74413r_state *st, return IIO_VAL_FRACTIONAL; } -static int ad74413_get_input_current_offset(struct ad74413r_state *st, - unsigned int channel, int *val) +static int ad74413r_get_input_current_offset(struct ad74413r_state *st, + unsigned int channel, int *val) { unsigned int range; int voltage_range; @@ -991,7 +991,7 @@ static int ad74413r_read_raw(struct iio_dev *indio_dev, return ad74413r_get_input_voltage_offset(st, chan->channel, val); case IIO_CURRENT: - return ad74413_get_input_current_offset(st, + return ad74413r_get_input_current_offset(st, chan->channel, val); default: return -EINVAL; |