[PATCH] ARM: OMAP: SmartReflex: fix error path in init function

2012-09-14 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Fix the error handling path in omap_sr_probe to correctly de-allocate resources in case of problems. Signed-off-by: Jean Pihet j-pi...@ti.com --- drivers/power/avs/smartreflex.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] ARM: OMAP: SmartReflex: fix error path in init function

2012-09-14 Thread Jean Pihet
Hi! On Fri, Sep 14, 2012 at 12:14 PM, jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Fix the error handling path in omap_sr_probe to correctly de-allocate resources in case of problems. Please note that this patch applies on top of 'ARM: OMAP: SmartReflex: pass device