Lines Matching refs:wm8350
3 * wm8350-i2c.c -- Generic I2C driver for Wolfson WM8350 PMIC
15 #include <linux/mfd/wm8350/core.h>
21 struct wm8350 *wm8350;
25 wm8350 = devm_kzalloc(&i2c->dev, sizeof(struct wm8350), GFP_KERNEL);
26 if (wm8350 == NULL)
29 wm8350->regmap = devm_regmap_init_i2c(i2c, &wm8350_regmap);
30 if (IS_ERR(wm8350->regmap)) {
31 ret = PTR_ERR(wm8350->regmap);
37 i2c_set_clientdata(i2c, wm8350);
38 wm8350->dev = &i2c->dev;
40 return wm8350_device_init(wm8350, i2c->irq, pdata);
44 { "wm8350", 0 },
52 .name = "wm8350",