Lines Matching refs:arizona
27 struct arizona *arizona; in arizona_i2c_probe() local
68 arizona = devm_kzalloc(&i2c->dev, sizeof(*arizona), GFP_KERNEL); in arizona_i2c_probe()
69 if (arizona == NULL) in arizona_i2c_probe()
72 arizona->regmap = devm_regmap_init_i2c(i2c, regmap_config); in arizona_i2c_probe()
73 if (IS_ERR(arizona->regmap)) { in arizona_i2c_probe()
74 ret = PTR_ERR(arizona->regmap); in arizona_i2c_probe()
80 arizona->type = type; in arizona_i2c_probe()
81 arizona->dev = &i2c->dev; in arizona_i2c_probe()
82 arizona->irq = i2c->irq; in arizona_i2c_probe()
84 return arizona_dev_init(arizona); in arizona_i2c_probe()
89 struct arizona *arizona = dev_get_drvdata(&i2c->dev); in arizona_i2c_remove() local
91 arizona_dev_exit(arizona); in arizona_i2c_remove()