Drop description of non-existing 'struct pm8xxx_chan_info' member:
qcom-pm8xxx-xoadc.c:386: warning: Excess struct member 'scale_fn_type' description in 'pm8xxx_chan_info'
Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
drivers/iio/adc/qcom-pm8xxx-xoadc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/adc/qcom-pm8xxx-xoadc.c b/drivers/iio/adc/qcom-pm8xxx-xoadc.c
index 01c5586df56d..c9d2c66434e4 100644
--- a/drivers/iio/adc/qcom-pm8xxx-xoadc.c
+++ b/drivers/iio/adc/qcom-pm8xxx-xoadc.c
@@ -372,7 +372,6 @@ static const struct xoadc_channel pm8921_xoadc_channels[] = {
* @name: name of this channel
* @hwchan: pointer to hardware channel information (muxing & scaling settings)
* @calibration: whether to use absolute or ratiometric calibration
- * @scale_fn_type: scaling function type
* @decimation: 0,1,2,3
* @amux_ip_rsv: ratiometric scale value if using ratiometric
* calibration: 0, 1, 2, 4, 5.
--
2.34.1
On Sun, 25 Feb 2024 at 22:27, Krzysztof Kozlowski
<[email protected]> wrote:
>
> Drop description of non-existing 'struct pm8xxx_chan_info' member:
>
> qcom-pm8xxx-xoadc.c:386: warning: Excess struct member 'scale_fn_type' description in 'pm8xxx_chan_info'
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> drivers/iio/adc/qcom-pm8xxx-xoadc.c | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Dmitry Baryshkov <[email protected]>
--
With best wishes
Dmitry
On Sun, 25 Feb 2024 22:46:30 +0200
Dmitry Baryshkov <[email protected]> wrote:
> On Sun, 25 Feb 2024 at 22:27, Krzysztof Kozlowski
> <[email protected]> wrote:
> >
> > Drop description of non-existing 'struct pm8xxx_chan_info' member:
> >
> > qcom-pm8xxx-xoadc.c:386: warning: Excess struct member 'scale_fn_type' description in 'pm8xxx_chan_info'
> >
> > Signed-off-by: Krzysztof Kozlowski <[email protected]>
> > ---
> > drivers/iio/adc/qcom-pm8xxx-xoadc.c | 1 -
> > 1 file changed, 1 deletion(-)
>
> Reviewed-by: Dmitry Baryshkov <[email protected]>
>
>
Applied. Thanks
J