[U-Boot] [PATCH v3 1/5] sf: Get spi locally from spi_flash
Jagan Teki
jteki at openedev.com
Tue Dec 15 07:28:42 CET 2015
On 15 December 2015 at 10:36, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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>
Tested-by: Jagan Teki <jteki at openedev.com>
Applied to u-boot-spi/master
thanks!
--
Jagan.
More information about the U-Boot
mailing list