diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-06-17 13:53:33 +0200 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2021-07-08 14:15:01 -0500 |
commit | 265caf45c6157f6b23f16292152ed9da5d2d1982 (patch) | |
tree | 9fe6fd2a5756e3cefe53a0f4e50b6bf4d003950e /hw/misc | |
parent | e656e387973b1c11f1b2b8c073a4ab1ed33504a2 (diff) |
hw/i2c: Extract i2c_do_start_transfer() from i2c_start_transfer()
To allow further simplications, extract i2c_do_start_transfer()
from i2c_start_transfer(). This is mostly the same function,
but the former is static and takes an enum argument.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions