Lines Matching refs:client
44 dev_info(&tps6105x->client->dev, in tps6105x_startup()
48 dev_info(&tps6105x->client->dev, in tps6105x_startup()
52 dev_info(&tps6105x->client->dev, in tps6105x_startup()
56 dev_info(&tps6105x->client->dev, in tps6105x_startup()
92 return mfd_add_devices(&tps6105x->client->dev, in tps6105x_add_device()
96 static int tps6105x_probe(struct i2c_client *client, in tps6105x_probe() argument
103 pdata = dev_get_platdata(&client->dev); in tps6105x_probe()
105 dev_err(&client->dev, "missing platform data\n"); in tps6105x_probe()
109 tps6105x = devm_kmalloc(&client->dev, sizeof(*tps6105x), GFP_KERNEL); in tps6105x_probe()
113 tps6105x->regmap = devm_regmap_init_i2c(client, &tps6105x_regmap_config); in tps6105x_probe()
117 i2c_set_clientdata(client, tps6105x); in tps6105x_probe()
118 tps6105x->client = client; in tps6105x_probe()
123 dev_err(&client->dev, "chip initialization failed\n"); in tps6105x_probe()
133 dev_info(&client->dev, in tps6105x_probe()
146 dev_warn(&client->dev, "invalid mode: %d\n", pdata->mode); in tps6105x_probe()
151 mfd_remove_devices(&client->dev); in tps6105x_probe()
156 static int tps6105x_remove(struct i2c_client *client) in tps6105x_remove() argument
158 struct tps6105x *tps6105x = i2c_get_clientdata(client); in tps6105x_remove()
160 mfd_remove_devices(&client->dev); in tps6105x_remove()