Lines Matching refs:atc260x
10 #include <linux/mfd/atc260x/core.h>
17 struct atc260x *atc260x;
21 atc260x = devm_kzalloc(&client->dev, sizeof(*atc260x), GFP_KERNEL);
22 if (!atc260x)
25 atc260x->dev = &client->dev;
26 atc260x->irq = client->irq;
28 ret = atc260x_match_device(atc260x, ®map_cfg);
32 i2c_set_clientdata(client, atc260x);
34 atc260x->regmap = devm_regmap_init_i2c(client, ®map_cfg);
35 if (IS_ERR(atc260x->regmap)) {
36 ret = PTR_ERR(atc260x->regmap);
41 return atc260x_device_probe(atc260x);
53 .name = "atc260x",