Axel Lin 8fb28231a9 ARM: pxa: fix error handling in pxa2xx_drv_pcmcia_probe
If pxa2xx_drv_pcmcia_add_one fails, it will go to err1 error path.
Add a missing clk_put in the error path.

Checking the ret value after the for loop is redundant, it is always false.
Thus remove the redundant checking.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
2012-02-16 10:41:23 +08:00
..
2009-10-24 17:13:01 +02:00
2011-03-31 11:26:23 -03:00
2008-06-24 15:33:37 +02:00
2010-11-01 15:38:34 -04:00
2010-11-01 15:38:34 -04:00
2011-12-07 22:02:05 +00:00
2010-11-10 14:29:09 +01:00
2010-11-10 14:29:09 +01:00
2011-02-19 12:22:35 +01:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00