Lines Matching refs:cs35l41
34 struct cs35l41_private *cs35l41; in cs35l41_i2c_probe() local
39 cs35l41 = devm_kzalloc(dev, sizeof(struct cs35l41_private), GFP_KERNEL); in cs35l41_i2c_probe()
41 if (!cs35l41) in cs35l41_i2c_probe()
44 cs35l41->dev = dev; in cs35l41_i2c_probe()
45 cs35l41->irq = client->irq; in cs35l41_i2c_probe()
47 i2c_set_clientdata(client, cs35l41); in cs35l41_i2c_probe()
48 cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config); in cs35l41_i2c_probe()
49 if (IS_ERR(cs35l41->regmap)) in cs35l41_i2c_probe()
50 return dev_err_probe(cs35l41->dev, PTR_ERR(cs35l41->regmap), in cs35l41_i2c_probe()
53 return cs35l41_probe(cs35l41, hw_cfg); in cs35l41_i2c_probe()
58 struct cs35l41_private *cs35l41 = i2c_get_clientdata(client); in cs35l41_i2c_remove() local
60 cs35l41_remove(cs35l41); in cs35l41_i2c_remove()