commit | 1b3d2243d049e062d0dc53b85f0e95db67e114af | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Thu Jan 23 15:55:05 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 23 16:36:59 2014 -0800 |
tree | e0cc27d6250a53477d851ffc67f191458f76f2bc | |
parent | fbd5e754cb03c134ed45ff3417606daf61f576ca [diff] |
drivers/rtc/rtc-mxc.c: check the return value from clk_prepare_enable() clk_prepare_enable() may fail, so let's check its return value and propagate it in the case of error. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>