gpio: mvebu: Don't free chip label memory
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 14 Jan 2013 10:53:20 +0000 (11:53 +0100)
committerLinus 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