/* Note that the device backing this regulator handle can have multiple users, so it might be enabled even if regulator_enable() was never called for this particular source.  */
int regulator_is_enabled(struct regulator *regulator)
/* Note that the device backing this regulator handle can have multiple users, so it might be enabled even if regulator_enable() was never called for this particular source.  */
int regulator_is_enabled(struct regulator *regulator)
{
	int ret;
	mutex_lock(&regulator->rdev->mutex);
	ret = _regulator_is_enabled(regulator->rdev);
	mutex_unlock(&regulator->rdev->mutex);
	return ret;
}