From: Thierry Reding Date: Mon, 14 Jan 2013 10:53:20 +0000 (+0100) Subject: gpio: mvebu: Don't free chip label memory X-Git-Tag: v3.8-rc5~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11c0ceec073cb35a1bedfdece701351cfc1da5b7;p=pandora-kernel.git 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 Signed-off-by: Thierry Reding Signed-off-by: Linus Walleij --- Reading git-diff-tree failed