Message ID | 1429555051-22335-2-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Simon Glass |
Headers | show |
On 21 April 2015 at 00:07, Simon Glass <sjg@chromium.org> wrote: > This comment should refer to SPI, not serial. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > include/spi.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/spi.h b/include/spi.h > index c58e453..aa0598b 100644 > --- a/include/spi.h > +++ b/include/spi.h > @@ -612,7 +612,7 @@ int sandbox_spi_get_emul(struct sandbox_state *state, > struct udevice *bus, struct udevice *slave, > struct udevice **emulp); > > -/* Access the serial operations for a device */ > +/* Access the operations for a SPI device */ > #define spi_get_ops(dev) ((struct dm_spi_ops *)(dev)->driver->ops) > #define spi_emul_get_ops(dev) ((struct dm_spi_emul_ops *)(dev)->driver->ops) > #endif /* CONFIG_DM_SPI */ > -- > 2.2.0.rc0.207.ga3a616c > Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> thanks!
On 22 April 2015 at 05:39, Jagan Teki <jagannadh.teki@gmail.com> wrote: > On 21 April 2015 at 00:07, Simon Glass <sjg@chromium.org> wrote: >> This comment should refer to SPI, not serial. >> >> Signed-off-by: Simon Glass <sjg@chromium.org> >> --- >> >> include/spi.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/include/spi.h b/include/spi.h >> index c58e453..aa0598b 100644 >> --- a/include/spi.h >> +++ b/include/spi.h >> @@ -612,7 +612,7 @@ int sandbox_spi_get_emul(struct sandbox_state *state, >> struct udevice *bus, struct udevice *slave, >> struct udevice **emulp); >> >> -/* Access the serial operations for a device */ >> +/* Access the operations for a SPI device */ >> #define spi_get_ops(dev) ((struct dm_spi_ops *)(dev)->driver->ops) >> #define spi_emul_get_ops(dev) ((struct dm_spi_emul_ops *)(dev)->driver->ops) >> #endif /* CONFIG_DM_SPI */ >> -- >> 2.2.0.rc0.207.ga3a616c >> > > Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Applied to u-boot-dm.
diff --git a/include/spi.h b/include/spi.h index c58e453..aa0598b 100644 --- a/include/spi.h +++ b/include/spi.h @@ -612,7 +612,7 @@ int sandbox_spi_get_emul(struct sandbox_state *state, struct udevice *bus, struct udevice *slave, struct udevice **emulp); -/* Access the serial operations for a device */ +/* Access the operations for a SPI device */ #define spi_get_ops(dev) ((struct dm_spi_ops *)(dev)->driver->ops) #define spi_emul_get_ops(dev) ((struct dm_spi_emul_ops *)(dev)->driver->ops) #endif /* CONFIG_DM_SPI */
This comment should refer to SPI, not serial. Signed-off-by: Simon Glass <sjg@chromium.org> --- include/spi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)