diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/regulator/driver.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 795b38a06b6c..7f8345bff4e1 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h | |||
| @@ -401,13 +401,7 @@ struct regulator_desc { | |||
| 401 | * NULL). | 401 | * NULL). |
| 402 | * @regmap: regmap to use for core regmap helpers if dev_get_regmap() is | 402 | * @regmap: regmap to use for core regmap helpers if dev_get_regmap() is |
| 403 | * insufficient. | 403 | * insufficient. |
| 404 | * @ena_gpio_initialized: GPIO controlling regulator enable was properly | 404 | * @ena_gpiod: GPIO controlling regulator enable. |
| 405 | * initialized, meaning that >= 0 is a valid gpio | ||
| 406 | * identifier and < 0 is a non existent gpio. | ||
| 407 | * @ena_gpio: GPIO controlling regulator enable. | ||
| 408 | * @ena_gpiod: GPIO descriptor controlling regulator enable. | ||
| 409 | * @ena_gpio_invert: Sense for GPIO enable control. | ||
| 410 | * @ena_gpio_flags: Flags to use when calling gpio_request_one() | ||
| 411 | */ | 405 | */ |
| 412 | struct regulator_config { | 406 | struct regulator_config { |
| 413 | struct device *dev; | 407 | struct device *dev; |
| @@ -416,11 +410,7 @@ struct regulator_config { | |||
| 416 | struct device_node *of_node; | 410 | struct device_node *of_node; |
| 417 | struct regmap *regmap; | 411 | struct regmap *regmap; |
| 418 | 412 | ||
| 419 | bool ena_gpio_initialized; | ||
| 420 | int ena_gpio; | ||
| 421 | struct gpio_desc *ena_gpiod; | 413 | struct gpio_desc *ena_gpiod; |
| 422 | unsigned int ena_gpio_invert:1; | ||
| 423 | unsigned int ena_gpio_flags; | ||
| 424 | }; | 414 | }; |
| 425 | 415 | ||
| 426 | /* | 416 | /* |
