diff options
author | Jagan Teki <jteki@openedev.com> | 2015-12-12 11:51:57 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-01-13 18:47:25 +0530 |
commit | e228d6deb1540b5b11e0df6c28a1a471da44e03a (patch) | |
tree | a21c0763aed23e1692bac8afe2997ae35fd348d7 /board/pr1 | |
parent | 077678eb0c226e52a1f90edabd3369ab26065b32 (diff) | |
download | talos-obmc-uboot-e228d6deb1540b5b11e0df6c28a1a471da44e03a.tar.gz talos-obmc-uboot-e228d6deb1540b5b11e0df6c28a1a471da44e03a.zip |
sf: Get spi locally from spi_flash
For better code readabilty, get the spi pointer from
spi_flash{} locally and use it instead of direct
dereferring spi pinter as flash->spi->*
Tested-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'board/pr1')
0 files changed, 0 insertions, 0 deletions