[PATCH 1/2] rtc: rtc-mxc: Remove unneeded label

2013-12-01 Thread Fabio Estevam
From: Fabio Estevam There is no need to jump to the 'exit_free_pdata' label when devm_clk_get() fails, as we can directly return the error and simplify the code a bit. Signed-off-by: Fabio Estevam --- drivers/rtc/rtc-mxc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH 1/2] rtc: rtc-mxc: Remove unneeded label

2013-12-01 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com There is no need to jump to the 'exit_free_pdata' label when devm_clk_get() fails, as we can directly return the error and simplify the code a bit. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/rtc/rtc-mxc.c | 5 + 1