Anastasia Klimchuk uploaded patch set #4 to this change.
Simplifying the initialisation flow for it85spi
1) Inlining it85xx_spi_common_init since it's only used once in
it85xx_spi_init, after inlining ret value is not needed.
2) Moving data allocation closer to the end of init function to
avoid freeing data in case of early return on error.
BUG=b:172876667
TEST=builds
Change-Id: Iac1b4ae9c6f34c5265e729ae0a80024800c3c272
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
---
M it85spi.c
1 file changed, 58 insertions(+), 68 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/96/48196/4
To view, visit change 48196. To unsubscribe, or for help writing mail filters, visit settings.