target-i386: kvm_cpu_fill_host(): Kill unused code
[qemu/kevin.git] / tests / libqos / i2c.c
blobda7592f713e46f4e3007c204a222b50433d43012
1 /*
2 * QTest I2C driver
4 * Copyright (c) 2012 Andreas Färber
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9 #include "libqos/i2c.h"
10 #include "libqtest.h"
12 void i2c_send(I2CAdapter *i2c, uint8_t addr,
13 const uint8_t *buf, uint16_t len)
15 i2c->send(i2c, addr, buf, len);
18 void i2c_recv(I2CAdapter *i2c, uint8_t addr,
19 uint8_t *buf, uint16_t len)
21 i2c->recv(i2c, addr, buf, len);