OSDN Git Service

ARM: s3c64xx: Tidy up handling of regulator GPIO lookups
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 12 Apr 2019 07:14:58 +0000 (09:14 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 14 Apr 2019 10:53:03 +0000 (12:53 +0200)
commit7676e667c841375b41d9438b559756141aa93d0e
tree8593b1048ed9b5045ae3a2ca38d0f877e990910d
parent2997520c2d4e4d112e7b237bfa5a17a968ffc4bf
ARM: s3c64xx: Tidy up handling of regulator GPIO lookups

Rather than unconditionally registering the GPIO lookup table only do so
for devices that require it.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
[Fixed up to also handle wm5102 and wm5102 reva]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c64xx/mach-crag6410-module.c