Lines Matching defs:client
19 struct i2c_client *client = to_i2c_client(dev);
21 return i2c_smbus_write_byte_data(client, reg, val);
26 struct i2c_client *client = to_i2c_client(dev);
28 return i2c_smbus_read_byte_data(client, reg);
31 static int max7300_probe(struct i2c_client *client)
35 if (!i2c_check_functionality(client->adapter,
39 ts = devm_kzalloc(&client->dev, sizeof(struct max7301), GFP_KERNEL);
45 ts->dev = &client->dev;
50 static void max7300_remove(struct i2c_client *client)
52 __max730x_remove(&client->dev);