diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-12-02 12:38:06 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-12-15 14:42:16 +0300 |
commit | 5750ebab14907f05aa9904ef2f3c1bb8dcb1fd2b (patch) | |
tree | c730ca9e7d9cc41e196ec874e48c62e8cbc8586f /LICENSES | |
parent | b747e352499e4fca6e2e824852f5d91f4e29bf0e (diff) | |
download | linux-5750ebab14907f05aa9904ef2f3c1bb8dcb1fd2b.tar.xz |
iio: ad7266: Convert to use GPIO descriptors
The AD7266 have no in-tree users making use of the platform
data mechanism to pass address GPIO lines when not using
a fixed address, so we can easily convert this to use
GPIO descriptors instead of the platform data integers
currently passed.
Lowercase the labels "ad0".."ad2" as this will make a better
fit for platform descriptions like device tree that prefer
lowercase names such as "ad0-gpios" rather than "AD0-gpios".
Board files and other static users of this device can pass
the same GPIO descriptors using machine descriptor
tables if need be.
Cc: Alison Schofield <amsfield22@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions