aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab5500-core.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-09-20 14:13:06 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 14:09:15 +0200
commit677df0c9012ca3a6e0081f29f81506e5578d74f3 (patch)
tree464e640cf0da1ee2716cbb15f006c5b68ea2ba80 /drivers/mfd/ab5500-core.c
parentmfd: Fix ab3100 initconst section (diff)
downloadlinux-dev-677df0c9012ca3a6e0081f29f81506e5578d74f3.tar.xz
linux-dev-677df0c9012ca3a6e0081f29f81506e5578d74f3.zip
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 <jj@chaosbits.net> Cc: Margarita Olaya Cabrera <magi@slimlogic.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab5500-core.c')
0 files changed, 0 insertions, 0 deletions