Messages in this thread | | | From | Krzysztof Kozlowski <> | Date | Mon, 14 May 2018 11:28:15 +0200 | Subject | Re: [PATCH 05/19 v3] regulator: max77686: Pass descriptor instead of GPIO number |
| |
On Mon, May 14, 2018 at 10:06 AM, Linus Walleij <linus.walleij@linaro.org> wrote: > Instead of passing a global GPIO number, pass a descriptor looked > up from the device tree configuration node. > > Cc: Chanwoo Choi <cw00.choi@samsung.com> > Cc: Krzysztof Kozlowski <krzk@kernel.org> > Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > ChangeLog v2->v3: > - Name the regulator "max77686-regulator" > - Set the regulator to NULL on erroneous lookup, restoring the > old init data lookup behaviour. > ChangeLog v1->v2: > - Rebase the patch on the other changes. > --- > drivers/regulator/max77686-regulator.c | 19 ++++++++++++------- > 1 file changed, 12 insertions(+), 7 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Tested on Odroid U3 (with max77686 although not using any GPIOs for regulators, so at least default paths are not broken): Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards, Krzysztof
| |