Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation

From: Gabriel Shahrouzi
Date: Thu Apr 17 2025 - 13:19:12 EST


On Thu, Apr 17, 2025 at 11:57 AM Charalampos Mitrodimas
<charmitro@xxxxxxxxxx> wrote:
>
> On Thu, 2025-04-17 at 15:53 +0000, Charalampos Mitrodimas wrote:
> > On Thu, 2025-04-17 at 10:32 -0400, Gabriel Shahrouzi wrote:
> > > The AD9832 driver uses the Common Clock Framework (CCF) to obtain
> > > the
> > > master clock (MCLK) frequency rather than relying on a frequency
> > > value
> > > passed from platform data.
> > >
> > > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@xxxxxxxxx>
> > > ---
> > > drivers/staging/iio/frequency/ad9832.h | 1 -
> > > 1 file changed, 1 deletion(-)
> > >
> > > diff --git a/drivers/staging/iio/frequency/ad9832.h
> > > b/drivers/staging/iio/frequency/ad9832.h
> > > index 98dfbd9289ab8..d0d840edb8d27 100644
> > > --- a/drivers/staging/iio/frequency/ad9832.h
> > > +++ b/drivers/staging/iio/frequency/ad9832.h
> > > @@ -13,7 +13,6 @@
> > >
> > > /**
> > > * struct ad9832_platform_data - platform specific information
> > > - * @mclk: master clock in Hz
> >
> > Hi Gabriel,
> >
> > This seems to be a leftover from
> > 566564e80b0ed23ffa4c40f7ad4224bf3327053a ("staging: iio: ad9832: use
> > clock framework for clock reference")
Ah ok. I will include this in the body as a reference. I guess for
small clean up patches like this, they would have been most likely to
be included in a larger patch that covered other changes but
forgotten. In this case, should they be referenced?
>
> That said, a Fixes: tag might be helpful?
>
> >
> >
> >
> > > * @freq0: power up freq0 tuning word in Hz
> > > * @freq1: power up freq1 tuning word in Hz
> > > * @phase0: power up phase0 value [0..4095] correlates
> > > with 0..2PI
> >
> >
>