* [PATCH] iio: addac: ad74413r: fix function prefix typo
@ 2023-08-30 9:43 Antoniu Miclaus
2023-08-31 7:48 ` Nuno Sá
0 siblings, 1 reply; 3+ messages in thread
From: Antoniu Miclaus @ 2023-08-30 9:43 UTC (permalink / raw)
To: jic23, linus.walleij, linux-iio, linux-kernel; +Cc: Antoniu Miclaus
Use complete device name prefix in the input current offset getter
function.
Fixes: fea251b6a5db ("iio: addac: add AD74413R driver")
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
drivers/iio/addac/ad74413r.c | 6 +++---
1 file 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;
--
2.42.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: addac: ad74413r: fix function prefix typo
2023-08-30 9:43 [PATCH] iio: addac: ad74413r: fix function prefix typo Antoniu Miclaus
@ 2023-08-31 7:48 ` Nuno Sá
2023-09-03 11:37 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Nuno Sá @ 2023-08-31 7:48 UTC (permalink / raw)
To: Antoniu Miclaus, jic23, linus.walleij, linux-iio, linux-kernel
On Wed, 2023-08-30 at 12:43 +0300, Antoniu Miclaus wrote:
> Use complete device name prefix in the input current offset getter
> function.
>
> Fixes: fea251b6a5db ("iio: addac: add AD74413R driver")
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
> ---
This a typo fix. So, I'm not so sure if a Fixes tag, backporting is really needed...
Anyways,
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: addac: ad74413r: fix function prefix typo
2023-08-31 7:48 ` Nuno Sá
@ 2023-09-03 11:37 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2023-09-03 11:37 UTC (permalink / raw)
To: Nuno Sá; +Cc: Antoniu Miclaus, linus.walleij, linux-iio, linux-kernel
On Thu, 31 Aug 2023 09:48:19 +0200
Nuno Sá <noname.nuno@gmail.com> wrote:
> On Wed, 2023-08-30 at 12:43 +0300, Antoniu Miclaus wrote:
> > Use complete device name prefix in the input current offset getter
> > function.
> >
> > Fixes: fea251b6a5db ("iio: addac: add AD74413R driver")
> > Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
> > ---
>
> This a typo fix. So, I'm not so sure if a Fixes tag, backporting is really needed...
Agreed - I dropped the fixes tag whilst applying.
> Anyways,
>
> Reviewed-by: Nuno Sa <nuno.sa@analog.com>
>
Applied to the togreg branch of iio.git which for now is only pushed out as
testing because I want to rebase on rc1 once available.
Thanks,
Jonathan
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-03 11:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30 9:43 [PATCH] iio: addac: ad74413r: fix function prefix typo Antoniu Miclaus
2023-08-31 7:48 ` Nuno Sá
2023-09-03 11:37 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox