Beispiel #1
0
static int
sh_i2c_probe(struct i2c_adapter *adap, u8 dev)
{
	u8 dummy[1];

	return sh_i2c_read(adap, dev, 0, 0, dummy, sizeof dummy);
}
Beispiel #2
0
static int
sh_i2c_probe(struct i2c_adapter *adap, u8 dev)
{
	return sh_i2c_read(adap, dev, 0, 0, NULL, 0);
}