regulator: da9055: Pass descriptor instead of GPIO number
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Feb 2018 13:17:00 +0000 (14:17 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 16 Feb 2018 17:05:45 +0000 (17:05 +0000)
commit8d05560d1d011e5a842556efdbd70cc8a21499bb
tree80b284ada6e65e4d7b8c1a9c32c4df687e6ddedb
parente45e290a882e2c0dc8ebb7dd21c66a8209d8e3a5
regulator: da9055: Pass descriptor instead of GPIO number

When setting up a fixed regulator on the DA9055, pass a descriptor
instead of a global GPIO number. This facility is not used in the
kernel so we can easily just say that this should be a descriptor
if/when put to use.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9055-regulator.c
include/linux/mfd/da9055/pdata.h