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
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
2 matches
Mail list logo