Lines Matching refs:tps65090
172 struct tps65090 *tps65090; in tps65090_i2c_probe() local
184 tps65090 = devm_kzalloc(&client->dev, sizeof(*tps65090), GFP_KERNEL); in tps65090_i2c_probe()
185 if (!tps65090) in tps65090_i2c_probe()
188 tps65090->dev = &client->dev; in tps65090_i2c_probe()
189 i2c_set_clientdata(client, tps65090); in tps65090_i2c_probe()
191 tps65090->rmap = devm_regmap_init_i2c(client, &tps65090_regmap_config); in tps65090_i2c_probe()
192 if (IS_ERR(tps65090->rmap)) { in tps65090_i2c_probe()
193 ret = PTR_ERR(tps65090->rmap); in tps65090_i2c_probe()
199 ret = regmap_add_irq_chip(tps65090->rmap, client->irq, in tps65090_i2c_probe()
201 &tps65090_irq_chip, &tps65090->irq_data); in tps65090_i2c_probe()
212 ret = mfd_add_devices(tps65090->dev, -1, tps65090s, in tps65090_i2c_probe()
214 0, regmap_irq_get_domain(tps65090->irq_data)); in tps65090_i2c_probe()
225 regmap_del_irq_chip(client->irq, tps65090->irq_data); in tps65090_i2c_probe()