[U-Boot] [PATCH 01/20] dm: spi: Correct the comment on spi_get_ops()

Jagan Teki jagannadh.teki at gmail.com
Wed Apr 22 13:39:15 CEST 2015


On 21 April 2015 at 00:07, Simon Glass <sjg at chromium.org> wrote:
> This comment should refer to SPI, not serial.
>
> Signed-off-by: Simon Glass <sjg at 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 at gmail.com>

thanks!
-- 
Jagan.


More information about the U-Boot mailing list