diff options
author | Marc Dietrich <marvin24@gmx.de> | 2018-04-19 13:01:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 14:38:00 +0200 |
commit | 40fbffd9b9a110b7b1eb9e4fb609018d29dff157 (patch) | |
tree | 18c2ffe143c2a40d4e9e2d804201ba725ea3d17c /drivers/staging/nvec/nvec.h | |
parent | d4381795988a3c2a6b1221354bf3884cbdf0a802 (diff) | |
download | op-kernel-dev-40fbffd9b9a110b7b1eb9e4fb609018d29dff157.zip op-kernel-dev-40fbffd9b9a110b7b1eb9e4fb609018d29dff157.tar.gz |
staging: nvec: convert to use GPIO descriptors
Use GPIO descriptors instead of relying on the old method.
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/nvec/nvec.h')
-rw-r--r-- | drivers/staging/nvec/nvec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/nvec/nvec.h b/drivers/staging/nvec/nvec.h index 25efcdf..80c0353 100644 --- a/drivers/staging/nvec/nvec.h +++ b/drivers/staging/nvec/nvec.h @@ -132,7 +132,7 @@ struct nvec_msg { */ struct nvec_chip { struct device *dev; - int gpio; + struct gpio_desc *gpiod; int irq; u32 i2c_addr; void __iomem *base; |