[PATCH 04/10] regulator: max8952: Let core handle GPIO descriptor

2018-11-28 Thread Linus Walleij
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

[PATCH 04/10] regulator: max8952: Let core handle GPIO descriptor

2018-11-28 Thread Linus Walleij
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