Searched refs:regdev (Results 1 – 1 of 1) sorted by relevance
28 struct regulator_dev *regdev; member32 static int vexpress_regulator_get_voltage(struct regulator_dev *regdev) in vexpress_regulator_get_voltage() argument34 struct vexpress_regulator *reg = rdev_get_drvdata(regdev); in vexpress_regulator_get_voltage()41 static int vexpress_regulator_set_voltage(struct regulator_dev *regdev, in vexpress_regulator_set_voltage() argument44 struct vexpress_regulator *reg = rdev_get_drvdata(regdev); in vexpress_regulator_set_voltage()93 reg->regdev = devm_regulator_register(&pdev->dev, ®->desc, &config); in vexpress_regulator_probe()94 if (IS_ERR(reg->regdev)) in vexpress_regulator_probe()95 return PTR_ERR(reg->regdev); in vexpress_regulator_probe()