Message ID | 20240121055005.20042-1-rdunlap@infradead.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: dummy_evgen: remove Excess kernel-doc comments | expand |
On Sun, Jan 21, 2024 at 6:50 AM Randy Dunlap <rdunlap@infradead.org> wrote: > > Drop kernel-doc comments for struct fields that were removed to > prevent kernel-doc warnings: > > iio_dummy_evgen.c:43: warning: Excess struct member 'irq_sim' description in 'iio_dummy_eventgen' > iio_dummy_evgen.c:43: warning: Excess struct member 'base' description in 'iio_dummy_eventgen' > > Fixes: 337cbeb2c13e ("genirq/irq_sim: Simplify the API") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Jonathan Cameron <jic23@kernel.org> > Cc: Lars-Peter Clausen <lars@metafoo.de> > Cc: Bartosz Golaszewski <brgl@bgdev.pl> > Cc: linux-iio@vger.kernel.org > --- > drivers/iio/dummy/iio_dummy_evgen.c | 2 -- > 1 file changed, 2 deletions(-) > > diff -- a/drivers/iio/dummy/iio_dummy_evgen.c b/drivers/iio/dummy/iio_dummy_evgen.c > --- a/drivers/iio/dummy/iio_dummy_evgen.c > +++ b/drivers/iio/dummy/iio_dummy_evgen.c > @@ -31,8 +31,6 @@ > * @regs: irq regs we are faking > * @lock: protect the evgen state > * @inuse: mask of which irqs are connected > - * @irq_sim: interrupt simulator > - * @base: base of irq range > * @irq_sim_domain: irq simulator domain > */ > struct iio_dummy_eventgen { Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
On Mon, 22 Jan 2024 10:04:48 +0100 Bartosz Golaszewski <brgl@bgdev.pl> wrote: > On Sun, Jan 21, 2024 at 6:50 AM Randy Dunlap <rdunlap@infradead.org> wrote: > > > > Drop kernel-doc comments for struct fields that were removed to > > prevent kernel-doc warnings: > > > > iio_dummy_evgen.c:43: warning: Excess struct member 'irq_sim' description in 'iio_dummy_eventgen' > > iio_dummy_evgen.c:43: warning: Excess struct member 'base' description in 'iio_dummy_eventgen' > > > > Fixes: 337cbeb2c13e ("genirq/irq_sim: Simplify the API") > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > > Cc: Jonathan Cameron <jic23@kernel.org> > > Cc: Lars-Peter Clausen <lars@metafoo.de> > > Cc: Bartosz Golaszewski <brgl@bgdev.pl> > > Cc: linux-iio@vger.kernel.org > > --- > > drivers/iio/dummy/iio_dummy_evgen.c | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff -- a/drivers/iio/dummy/iio_dummy_evgen.c b/drivers/iio/dummy/iio_dummy_evgen.c > > --- a/drivers/iio/dummy/iio_dummy_evgen.c > > +++ b/drivers/iio/dummy/iio_dummy_evgen.c > > @@ -31,8 +31,6 @@ > > * @regs: irq regs we are faking > > * @lock: protect the evgen state > > * @inuse: mask of which irqs are connected > > - * @irq_sim: interrupt simulator > > - * @base: base of irq range > > * @irq_sim_domain: irq simulator domain > > */ > > struct iio_dummy_eventgen { > > Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Applied. Thanks,
diff -- a/drivers/iio/dummy/iio_dummy_evgen.c b/drivers/iio/dummy/iio_dummy_evgen.c --- a/drivers/iio/dummy/iio_dummy_evgen.c +++ b/drivers/iio/dummy/iio_dummy_evgen.c @@ -31,8 +31,6 @@ * @regs: irq regs we are faking * @lock: protect the evgen state * @inuse: mask of which irqs are connected - * @irq_sim: interrupt simulator - * @base: base of irq range * @irq_sim_domain: irq simulator domain */ struct iio_dummy_eventgen {
Drop kernel-doc comments for struct fields that were removed to prevent kernel-doc warnings: iio_dummy_evgen.c:43: warning: Excess struct member 'irq_sim' description in 'iio_dummy_eventgen' iio_dummy_evgen.c:43: warning: Excess struct member 'base' description in 'iio_dummy_eventgen' Fixes: 337cbeb2c13e ("genirq/irq_sim: Simplify the API") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Bartosz Golaszewski <brgl@bgdev.pl> Cc: linux-iio@vger.kernel.org --- drivers/iio/dummy/iio_dummy_evgen.c | 2 -- 1 file changed, 2 deletions(-)