Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Antoniu Miclaus and committed by
Jonathan Cameron
8aa6e668 3a23b384

+3 -3
+3 -3
drivers/iio/addac/ad74413r.c
··· 705 705 return IIO_VAL_FRACTIONAL; 706 706 } 707 707 708 - static int ad74413_get_input_current_offset(struct ad74413r_state *st, 709 - unsigned int channel, int *val) 708 + static int ad74413r_get_input_current_offset(struct ad74413r_state *st, 709 + unsigned int channel, int *val) 710 710 { 711 711 unsigned int range; 712 712 int voltage_range; ··· 991 991 return ad74413r_get_input_voltage_offset(st, 992 992 chan->channel, val); 993 993 case IIO_CURRENT: 994 - return ad74413_get_input_current_offset(st, 994 + return ad74413r_get_input_current_offset(st, 995 995 chan->channel, val); 996 996 default: 997 997 return -EINVAL;