diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-05-30 23:50:13 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-06-12 12:58:07 +0200 |
commit | ed7357c9f9b6a560992446c37260be25e514c4ab (patch) | |
tree | ea101a81ccf88062c1f460bfea40c620f0ee67d1 /arch/arm/include/asm/hardware | |
parent | bebff81fb8b9216eb4fba22cf910553621ae3477 (diff) |
i2c: s3c2410: Convert to use GPIO descriptors
The S3C2410 does some funny dance around its pins:
- First try to call back to the platform to get and control
some GPIO pins
- If this doesn't work, it tries to get a pin control handle
- If this doesn't work, it retrieves two GPIOs from the device
tree node and does nothing with them
If we're gonna retrieve two GPIOs and do nothing with them, we
might as well do it using the GPIO descriptor API. When we use
the resource management API, the code gets smaller.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'arch/arm/include/asm/hardware')
0 files changed, 0 insertions, 0 deletions