Searched refs:rt5033 (Results 1 – 5 of 5) sorted by relevance
62 struct rt5033_dev *rt5033; in rt5033_i2c_probe() local66 rt5033 = devm_kzalloc(&i2c->dev, sizeof(*rt5033), GFP_KERNEL); in rt5033_i2c_probe()67 if (!rt5033) in rt5033_i2c_probe()70 i2c_set_clientdata(i2c, rt5033); in rt5033_i2c_probe()71 rt5033->dev = &i2c->dev; in rt5033_i2c_probe()72 rt5033->irq = i2c->irq; in rt5033_i2c_probe()73 rt5033->wakeup = true; in rt5033_i2c_probe()75 rt5033->regmap = devm_regmap_init_i2c(i2c, &rt5033_regmap_config); in rt5033_i2c_probe()76 if (IS_ERR(rt5033->regmap)) { in rt5033_i2c_probe()78 return PTR_ERR(rt5033->regmap); in rt5033_i2c_probe()[all …]
238 obj-$(CONFIG_MFD_RT5033) += rt5033.o
83 struct rt5033_dev *rt5033 = dev_get_drvdata(pdev->dev.parent); in rt5033_regulator_probe() local87 config.dev = rt5033->dev; in rt5033_regulator_probe()88 config.driver_data = rt5033; in rt5033_regulator_probe()93 config.regmap = rt5033->regmap; in rt5033_regulator_probe()
118 obj-$(CONFIG_REGULATOR_RT5033) += rt5033-regulator.o
37 struct rt5033_dev *rt5033; member53 struct rt5033_dev *rt5033; member