]> asedeno.scripts.mit.edu Git - linux.git/commit
regulator: lm363x: Pass descriptor instead of GPIO number
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 14 May 2018 08:06:27 +0000 (10:06 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 24 May 2018 15:50:28 +0000 (16:50 +0100)
commitb2d751b7f69b352de0280d2279765a9506ed54f0
tree675da1e01010ec20d169fedb15e269d50e44fe12
parente7d2be696faa3c8add5b21006ad8fec6b6ed85f1
regulator: lm363x: Pass descriptor instead of GPIO number

Instead of passing a global GPIO number, pass a descriptor looked
up with the standard devm_gpiod_get_index_optional() call.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lm363x-regulator.c