clk: max77686: Fix clean-up in error and remove paths
authorTomasz Figa <t.figa@samsung.com>
Thu, 12 Dec 2013 16:07:18 +0000 (17:07 +0100)
committerMike Turquette <mturquette@linaro.org>
Wed, 8 Jan 2014 17:53:52 +0000 (09:53 -0800)
This patch fixes invalid kfree() and adds missing call to clk_unregister()
in error and remove paths in max77686_clk_probe(). While at it, error
handling is also cleaned up.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-max77686.c

Simple merge