Use the gpiod_get() rather than the devm_* version so that the
regulator core can handle the lifecycle of these descriptors.
Fixes: d7a261c2d1f2 ("regulator: max8952: Pass descriptor instead of GPIO
number")
Signed-off-by: Linus Walleij
---
drivers/regulator/max8952.c | 8 +---
1 file
Use the gpiod_get() rather than the devm_* version so that the
regulator core can handle the lifecycle of these descriptors.
Fixes: d7a261c2d1f2 ("regulator: max8952: Pass descriptor instead of GPIO
number")
Signed-off-by: Linus Walleij
---
drivers/regulator/max8952.c | 8 +---
1 file
2 matches
Mail list logo