git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6948ce5
)
gpio: mvebu: Don't free chip label memory
author
Thierry Reding
<thierry.reding@avionic-design.de>
Mon, 14 Jan 2013 10:53:20 +0000
(11:53 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 17 Jan 2013 11:27:08 +0000
(12:27 +0100)
The gpio_chip.label field is a const char * and assigned the value of a
call to dev_name(). Memory obtained from dev_name() should not be freed
by drivers.
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
No differences found