commit | 11c0ceec073cb35a1bedfdece701351cfc1da5b7 | [log] [tgz] |
---|---|---|
author | Thierry Reding <thierry.reding@avionic-design.de> | Mon Jan 14 11:53:20 2013 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 17 12:27:08 2013 +0100 |
tree | dd54d26489042319f79ab612dd9cf52c9ed8b028 | |
parent | 6948ce588bd765352df6f6b866f2151e26489ef1 [diff] |
gpio: mvebu: Don't free chip label memory 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>