Lines Matching full:arizona
3 * Arizona-i2c.c -- Arizona I2C bus interface
19 #include <linux/mfd/arizona/core.h>
21 #include "arizona.h"
25 struct arizona *arizona; in arizona_i2c_probe() local
61 arizona = devm_kzalloc(&i2c->dev, sizeof(*arizona), GFP_KERNEL); in arizona_i2c_probe()
62 if (arizona == NULL) in arizona_i2c_probe()
65 arizona->regmap = devm_regmap_init_i2c(i2c, regmap_config); in arizona_i2c_probe()
66 if (IS_ERR(arizona->regmap)) { in arizona_i2c_probe()
67 ret = PTR_ERR(arizona->regmap); in arizona_i2c_probe()
73 arizona->type = type; in arizona_i2c_probe()
74 arizona->dev = &i2c->dev; in arizona_i2c_probe()
75 arizona->irq = i2c->irq; in arizona_i2c_probe()
77 return arizona_dev_init(arizona); in arizona_i2c_probe()
82 struct arizona *arizona = dev_get_drvdata(&i2c->dev); in arizona_i2c_remove() local
84 arizona_dev_exit(arizona); in arizona_i2c_remove()
113 .name = "arizona",
125 MODULE_DESCRIPTION("Arizona I2C bus interface");