Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/misc/
H A Dmax77693-haptic.c55 struct regulator *motor_reg; member
267 error = regulator_enable(haptic->motor_reg); in max77693_haptic_open()
285 error = regulator_disable(haptic->motor_reg); in max77693_haptic_close()
339 haptic->motor_reg = devm_regulator_get(&pdev->dev, "haptic"); in max77693_haptic_probe()
340 if (IS_ERR(haptic->motor_reg)) { in max77693_haptic_probe()
342 return PTR_ERR(haptic->motor_reg); in max77693_haptic_probe()
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dmax77693-haptic.c55 struct regulator *motor_reg; member
267 error = regulator_enable(haptic->motor_reg); in max77693_haptic_open()
285 error = regulator_disable(haptic->motor_reg); in max77693_haptic_close()
339 haptic->motor_reg = devm_regulator_get(&pdev->dev, "haptic"); in max77693_haptic_probe()
340 if (IS_ERR(haptic->motor_reg)) { in max77693_haptic_probe()
342 return PTR_ERR(haptic->motor_reg); in max77693_haptic_probe()

Completed in 3 milliseconds