diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2020-12-01 15:55:34 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-01-21 02:21:14 +0000 |
commit | 554a01f9a6260d4687100fbf2417345e28a4382b (patch) | |
tree | b66d0f7eb9b7d650de71901933b6cd4ae884ab5d /usbblaster_spi.c | |
parent | 386cc556a448fe05139f5eddf43d9fcadce41e0e (diff) | |
download | flashrom-554a01f9a6260d4687100fbf2417345e28a4382b.tar.gz flashrom-554a01f9a6260d4687100fbf2417345e28a4382b.tar.bz2 flashrom-554a01f9a6260d4687100fbf2417345e28a4382b.zip |
it85spi.c: Inline it85xx_spi_common_init()
Inline it85xx_spi_common_init() to single call site of
it85xx_spi_init() as the construction is a single phase
one. This allows for less cyclomatic complexity by
validating early and initialisation at the eulogy of the
one entry-point to the driver.
BUG=b:172876667
TEST=builds
Change-Id: Iac1b4ae9c6f34c5265e729ae0a80024800c3c272
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/48196
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'usbblaster_spi.c')
0 files changed, 0 insertions, 0 deletions