@@ -49,6 +49,7 @@ static int fixed_voltage_enable(struct regulator_dev *dev)
struct fixed_voltage_data *data = rdev_get_drvdata(dev);
if (gpio_is_valid(data->gpio)) {
+ pr_info("%s %d\n", __func__, data->gpio);
gpio_set_value_cansleep(data->gpio, data->enable_high);
data->is_enabled = true;
}
@@ -61,6 +62,7 @@ static int fixed_voltage_disable(struct regulator_dev *dev)
struct fixed_voltage_data *data = rdev_get_drvdata(dev);
if (gpio_is_valid(data->gpio)) {
+ pr_info("%s %d\n", __func__, data->gpio);
gpio_set_value_cansleep(data->gpio, !data->enable_high);
data->is_enabled = false;
}