From: Jesper Juhl Date: Tue, 20 Sep 2011 21:13:06 +0000 (-0700) Subject: mfd: Do not leak init_data in tps65912_device_init() X-Git-Tag: v3.2-rc1~72^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=677df0c9012ca3a6e0081f29f81506e5578d74f3;p=pandora-kernel.git mfd: Do not leak init_data in tps65912_device_init() We neglect to free init_data on successful exit. I also moved two assignments to just before they are needed. This avoids doing them in case we hit an earlier error exit from the function. Signed-off-by: Jesper Juhl Cc: Margarita Olaya Cabrera Signed-off-by: Andrew Morton Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed