summaryrefslogtreecommitdiff
path: root/Documentation/driver-model/devres.txt
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-10-05 21:42:06 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-11-05 08:54:42 +0100
commit48207d7595d2be604e21228e5a93aaff17e4b808 (patch)
tree874c0f976260e4e2db5da3d8512df60f9bcd3ba1 /Documentation/driver-model/devres.txt
parent25451945648af488077ed61afc59a79710422f31 (diff)
downloadlinux-48207d7595d2be604e21228e5a93aaff17e4b808.tar.gz
gpio: drop devm_gpiochip_remove()
There is hardly any reason to call devm_gpiochip_remove() because the driver core handles calling gpiochip_remove() automatically. To make it harder to introduce new (and probably unneeded) callers, drop the function. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/driver-model/devres.txt')
-rw-r--r--Documentation/driver-model/devres.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 43681ca0837f..48aa1ef80d75 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -255,7 +255,6 @@ GPIO
devm_gpiod_get_optional()
devm_gpiod_put()
devm_gpiochip_add_data()
- devm_gpiochip_remove()
devm_gpio_request()
devm_gpio_request_one()
devm_gpio_free()