ARM: OMAP2+: Fix memleak in omap2xxx_clkt_vps_init
If the clk_register fails, we should free hw before function returns to prevent memleak. Signed-off-by:Youling Tang <tangyouling@loongson.cn> Signed-off-by:
Tony Lindgren <tony@atomide.com>
Showing
Please register or sign in to comment