OMAP2+: PM: SmartReflex: fix memory leaks in Smartreflex driver
authorShweta Gulati <shweta.gulati@ti.com>
Tue, 15 Feb 2011 08:10:30 +0000 (13:40 +0530)
committerKevin Hilman <khilman@ti.com>
Wed, 2 Mar 2011 16:04:46 +0000 (08:04 -0800)
commitb3329a33b5a3902e65c5517f41c374f5adb060e1
tree88ffb673588439b80ef1b117366cb296f8666afa
parent865212abb5268d56ab5e1035426bbeebba01138e
OMAP2+: PM: SmartReflex: fix memory leaks in Smartreflex driver

This Patch frees all the dynamically allocated memory
which couldn't have been released in some error hitting cases.

Signed-off-by: Shweta Gulati <shweta.gulati@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c