libqos: Use explicit QTestState for i2c operations
Drop one more client of global_qtest by teaching all i2c test functionality to pass in an explicit QTestState, adjusting all callers. Signed-off-by:Eric Blake <eblake@redhat.com> Reviewed-by:
Thomas Huth <thuth@redhat.com> Signed-off-by:
Thomas Huth <thuth@redhat.com>
Showing
- tests/ds1338-test.c 2 additions, 4 deletionstests/ds1338-test.c
- tests/libqos/i2c-imx.c 34 additions, 33 deletionstests/libqos/i2c-imx.c
- tests/libqos/i2c-omap.c 23 additions, 22 deletionstests/libqos/i2c-omap.c
- tests/libqos/i2c.h 5 additions, 2 deletionstests/libqos/i2c.h
- tests/tmp105-test.c 2 additions, 4 deletionstests/tmp105-test.c
Loading
Please register or sign in to comment