Message ID | 20200704034502.17199-8-rdunlap@infradead.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | Documentation/driver-api: eliminate duplicated words | expand |
On Fri, 3 Jul 2020 20:44:52 -0700 Randy Dunlap <rdunlap@infradead.org> wrote: > Drop the doubled word "struct". > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Jonathan Corbet <corbet@lwn.net> > Cc: linux-doc@vger.kernel.org > Cc: William Breathitt Gray <vilhelm.gray@gmail.com> > Cc: linux-iio@vger.kernel.org Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > Documentation/driver-api/iio/buffers.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-next-20200701.orig/Documentation/driver-api/iio/buffers.rst > +++ linux-next-20200701/Documentation/driver-api/iio/buffers.rst > @@ -88,7 +88,7 @@ fields in iio_chan_spec definition:: > The driver implementing the accelerometer described above will have the > following channel definition:: > > - struct struct iio_chan_spec accel_channels[] = { > + struct iio_chan_spec accel_channels[] = { > { > .type = IIO_ACCEL, > .modified = 1,
--- linux-next-20200701.orig/Documentation/driver-api/iio/buffers.rst +++ linux-next-20200701/Documentation/driver-api/iio/buffers.rst @@ -88,7 +88,7 @@ fields in iio_chan_spec definition:: The driver implementing the accelerometer described above will have the following channel definition:: - struct struct iio_chan_spec accel_channels[] = { + struct iio_chan_spec accel_channels[] = { { .type = IIO_ACCEL, .modified = 1,
Drop the doubled word "struct". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: William Breathitt Gray <vilhelm.gray@gmail.com> Cc: linux-iio@vger.kernel.org --- Documentation/driver-api/iio/buffers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)