diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2013-06-04 11:48:36 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 01:53:00 -0400 |
commit | 713b7ef835813c36e7a01ae18feac29b13082374 (patch) | |
tree | 7f3ea1490a3a7bb4ab029b623a857e5c91d54a4b /drivers/gpio | |
parent | 78c7d8d289cf943ba7733a974b243650b2164f9e (diff) |
gpio: devres: make comments proper
The free-function mentioned "interrupt" instead of "GPIO". While we are
here, use "GPIO" (capital letters) consistently.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/devres.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c index 1077754f8289..3e7812f0405e 100644 --- a/drivers/gpio/devres.c +++ b/drivers/gpio/devres.c | |||
@@ -34,10 +34,10 @@ static int devm_gpio_match(struct device *dev, void *res, void *data) | |||
34 | } | 34 | } |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * devm_gpio_request - request a gpio for a managed device | 37 | * devm_gpio_request - request a GPIO for a managed device |
38 | * @dev: device to request the gpio for | 38 | * @dev: device to request the GPIO for |
39 | * @gpio: gpio to allocate | 39 | * @gpio: GPIO to allocate |
40 | * @label: the name of the requested gpio | 40 | * @label: the name of the requested GPIO |
41 | * | 41 | * |
42 | * Except for the extra @dev argument, this function takes the | 42 | * Except for the extra @dev argument, this function takes the |
43 | * same arguments and performs the same function as | 43 | * same arguments and performs the same function as |
@@ -101,9 +101,9 @@ int devm_gpio_request_one(struct device *dev, unsigned gpio, | |||
101 | EXPORT_SYMBOL(devm_gpio_request_one); | 101 | EXPORT_SYMBOL(devm_gpio_request_one); |
102 | 102 | ||
103 | /** | 103 | /** |
104 | * devm_gpio_free - free an interrupt | 104 | * devm_gpio_free - free a GPIO |
105 | * @dev: device to free gpio for | 105 | * @dev: device to free GPIO for |
106 | * @gpio: gpio to free | 106 | * @gpio: GPIO to free |
107 | * | 107 | * |
108 | * Except for the extra @dev argument, this function takes the | 108 | * Except for the extra @dev argument, this function takes the |
109 | * same arguments and performs the same function as gpio_free(). | 109 | * same arguments and performs the same function as gpio_free(). |