[PATCH 07/21] regulator: max8973: Pass descriptor instead of GPIO number

2018-02-12 Thread Linus Walleij
Instead of passing a global GPIO number, pass a descriptor looked up with the standard devm_gpiod_get_optional() call. Cc: Mikko Perttunen Cc: Laxman Dewangan Signed-off-by: Linus Walleij ---

[PATCH 07/21] regulator: max8973: Pass descriptor instead of GPIO number

2018-02-12 Thread Linus Walleij
Instead of passing a global GPIO number, pass a descriptor looked up with the standard devm_gpiod_get_optional() call. Cc: Mikko Perttunen Cc: Laxman Dewangan Signed-off-by: Linus Walleij --- drivers/regulator/max8973-regulator.c | 54 +++ 1 file changed, 29