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