]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-m41t80.c: clean up error paths
authorWolfram Sang <wsa@sang-engineering.com>
Wed, 14 May 2014 00:02:38 +0000 (10:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:02:38 +0000 (10:02 +1000)
commit30949cc26c41eafa31f777266fde195be06d78f2
tree2023f10f0ed37ee07d7e28f358b778e0c6af8c42
parent3ee977bcabcea2d79f3bf6e8fbeab240085293f4
drivers/rtc/rtc-m41t80.c: clean up error paths

There is no cleanup needed when something fails in probe, so no need for
goto.  Directly return when something fails.

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-m41t80.c