drivers/iio/adc/qcom-pm8xxx-xoadc.c | 1 - 1 file changed, 1 deletion(-)
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 <krzysztof.kozlowski@linaro.org>
---
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 <krzysztof.kozlowski@linaro.org> 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 <krzysztof.kozlowski@linaro.org> > --- > drivers/iio/adc/qcom-pm8xxx-xoadc.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> -- With best wishes Dmitry
On Sun, 25 Feb 2024 22:46:30 +0200 Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote: > On Sun, 25 Feb 2024 at 22:27, Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> 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 <krzysztof.kozlowski@linaro.org> > > --- > > drivers/iio/adc/qcom-pm8xxx-xoadc.c | 1 - > > 1 file changed, 1 deletion(-) > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > > Applied. Thanks J
© 2016 - 2026 Red Hat, Inc.