Lines Matching full:arizona
3 * Arizona-i2c.c -- Arizona I2C bus interface
19 #include <linux/mfd/arizona/core.h>
21 #include "arizona.h"
26 struct arizona *arizona; in arizona_i2c_probe() local
66 arizona = devm_kzalloc(&i2c->dev, sizeof(*arizona), GFP_KERNEL); in arizona_i2c_probe()
67 if (arizona == NULL) in arizona_i2c_probe()
70 arizona->regmap = devm_regmap_init_i2c(i2c, regmap_config); in arizona_i2c_probe()
71 if (IS_ERR(arizona->regmap)) { in arizona_i2c_probe()
72 ret = PTR_ERR(arizona->regmap); in arizona_i2c_probe()
78 arizona->type = type; in arizona_i2c_probe()
79 arizona->dev = &i2c->dev; in arizona_i2c_probe()
80 arizona->irq = i2c->irq; in arizona_i2c_probe()
82 return arizona_dev_init(arizona); in arizona_i2c_probe()
87 struct arizona *arizona = dev_get_drvdata(&i2c->dev); in arizona_i2c_remove() local
89 arizona_dev_exit(arizona); in arizona_i2c_remove()
107 .name = "arizona",
118 MODULE_DESCRIPTION("Arizona I2C bus interface");