From: Lars-Peter Clausen Date: Mon, 14 Nov 2011 09:40:17 +0000 (+0100) Subject: regmap: Fix memory leak in regcache_init error path X-Git-Tag: v3.3-rc1~163^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd061c78cabc28bb64ed79f784d24918b6bdb791;p=pandora-kernel.git regmap: Fix memory leak in regcache_init error path Make sure all allocated memory gets freed again in case initializing the cache failed. Signed-off-by: Lars-Peter Clausen Acked-by: Dimitris Papastamos Signed-off-by: Mark Brown --- Reading git-diff-tree failed