[U-Boot] [PATCH v3 1/5] sf: Get spi locally from spi_flash

Bin Meng bmeng.cn at gmail.com
Tue Dec 15 06:06:05 CET 2015


On Mon, Dec 14, 2015 at 5:51 PM, Jagan Teki <jteki at openedev.com> wrote:
> For better code readabilty, get the spi pointer from
> spi_flash{} locally and use it instead of direct
> dereferring spi pinter as flash->spi->*
>
> Signed-off-by: Jagan Teki <jteki at openedev.com>
> ---
> Changes for v3:
> - none
> Changes for v2:
> - Fixed missing spi declaration for sst_write_*
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list