projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d926d0e
)
gpiolib: Convert to devres_release()
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 3 May 2012 17:15:14 +0000
(18:15 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:33:17 +0000
(16:33 -0700)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/devres.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/devres.c
b/drivers/gpio/devres.c
index
3dd2939
..
8950f62
100644
(file)
--- a/
drivers/gpio/devres.c
+++ b/
drivers/gpio/devres.c
@@
-83,8
+83,7
@@
EXPORT_SYMBOL(devm_gpio_request);
void devm_gpio_free(struct device *dev, unsigned int gpio)
{
- WARN_ON(devres_
destroy
(dev, devm_gpio_release, devm_gpio_match,
+ WARN_ON(devres_
release
(dev, devm_gpio_release, devm_gpio_match,
&gpio));
- gpio_free(gpio);
}
EXPORT_SYMBOL(devm_gpio_free);