commit | e228d6deb1540b5b11e0df6c28a1a471da44e03a | [log] [tgz] |
---|---|---|
author | Jagan Teki <jteki@openedev.com> | Sat Dec 12 11:51:57 2015 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Wed Jan 13 18:47:25 2016 +0530 |
tree | a21c0763aed23e1692bac8afe2997ae35fd348d7 | |
parent | 077678eb0c226e52a1f90edabd3369ab26065b32 [diff] |
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>