summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2018-10-08 11:34:03 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-10-10 13:36:18 +0200
commit3925b90fa4622b708fc609c98a3f346ee6641e8c (patch)
tree6ab9f62466560b0ea2d64a3bd42055f14af7cac1 /drivers/gpio
parent70728c29465bc4bfa7a8c14304771eab77e923c7 (diff)
downloadlinux-3925b90fa4622b708fc609c98a3f346ee6641e8c.tar.bz2
gpio: fix doc string for devm_gpiochip_add_data() to not talk about irq_chip
The function is about adding a gpio_chip so dev has to belong to this one. Fix wording to be more grammatically correct (but attention, I'm not a native speaker). Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpiolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 16ab167717dc..76ade1a7cf43 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1525,7 +1525,7 @@ static int devm_gpio_chip_match(struct device *dev, void *res, void *data)
/**
* devm_gpiochip_add_data() - Resource manager gpiochip_add_data()
- * @dev: the device pointer on which irq_chip belongs to.
+ * @dev: pointer to the device that gpio_chip belongs to.
* @chip: the chip to register, with chip->base initialized
* @data: driver-private data associated with this chip
*