diff options
author | Maíra Canal <maira.canal@usp.br> | 2021-10-17 21:06:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-21 16:18:42 +0300 |
commit | 6a8b5bb0f1350fc4cf398435a1119db12b0bd50e (patch) | |
tree | 2e12a49d348da9ee328f1e5ff7181c568d56f928 /include | |
parent | 061514dbfb79910ef60eb40dd9fc528be3f45d62 (diff) | |
download | linux-6a8b5bb0f1350fc4cf398435a1119db12b0bd50e.tar.xz |
regulator: tps62360: replacing legacy gpio interface for gpiod
Removing all linux/gpio.h and linux/of_gpio.h dependencies and replacing
them with the gpiod interface.
Signed-off-by: Maíra Canal <maira.canal@usp.br>
Link: https://lore.kernel.org/r/YWxmL2baF5AdzyHv@fedora
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regulator/tps62360.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/regulator/tps62360.h b/include/linux/regulator/tps62360.h index 94a90c06f1e5..398e74a1d941 100644 --- a/include/linux/regulator/tps62360.h +++ b/include/linux/regulator/tps62360.h @@ -19,10 +19,6 @@ * @en_discharge: Enable discharge the output capacitor via internal * register. * @en_internal_pulldn: internal pull down enable or not. - * @vsel0_gpio: Gpio number for vsel0. It should be -1 if this is tied with - * fixed logic. - * @vsel1_gpio: Gpio number for vsel1. It should be -1 if this is tied with - * fixed logic. * @vsel0_def_state: Default state of vsel0. 1 if it is high else 0. * @vsel1_def_state: Default state of vsel1. 1 if it is high else 0. */ @@ -30,8 +26,6 @@ struct tps62360_regulator_platform_data { struct regulator_init_data *reg_init_data; bool en_discharge; bool en_internal_pulldn; - int vsel0_gpio; - int vsel1_gpio; int vsel0_def_state; int vsel1_def_state; }; |