mfd: Properly free t7l66xb clk32k clock source
authorAxel Lin <axel.lin@gmail.com>
Thu, 1 Jul 2010 09:43:50 +0000 (17:43 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 12 Aug 2010 09:27:23 +0000 (11:27 +0200)
commitd2d272a965baeb3d78f843374bc48f0cbce8ac3d
tree109894ab5b7a6fc318d28d44d7a06ffcc52d1f07
parent15742c8a42c89aa5e63542b0de00b0dc4c5038cf
mfd: Properly free t7l66xb clk32k clock source

This patch includes below fixes to properly free clk32k clock source:
1. remove a redundant clk_put in t7l66xb_probe error path
2. add missing clk_disable(t7l66xb->clk32k) and clk_put(t7l66xb->clk32k)
   to properly free the clock source.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/t7l66xb.c