Wei Yongjun ecf026dc34 ARM i.MX: fix error-valued pointer dereference in clk_register_gate2()
The error-valued pointer clk is used for the arg of kfree, it should be
kfree(gate) if clk_register() return ERR_PTR().

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-16 15:53:57 +01:00
..
2012-10-28 11:12:38 -07:00
2012-10-27 17:46:48 +02:00
2012-10-17 14:09:15 +02:00
2012-10-07 07:13:01 +09:00
2012-10-25 15:57:40 +02:00
2012-10-28 11:12:38 -07:00