Home
last modified time | relevance | path

Searched refs:motor_reg (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/input/misc/
H A Dmax77693-haptic.c57 struct regulator *motor_reg; member
277 error = regulator_enable(haptic->motor_reg); in max77693_haptic_open()
295 error = regulator_disable(haptic->motor_reg); in max77693_haptic_close()
344 haptic->motor_reg = devm_regulator_get(&pdev->dev, "haptic"); in max77693_haptic_probe()
345 if (IS_ERR(haptic->motor_reg)) { in max77693_haptic_probe()
347 return PTR_ERR(haptic->motor_reg); in max77693_haptic_probe()