drivers/rtc/rtc-m41t80.c: clean up error paths
authorWolfram Sang <wsa@sang-engineering.com>
Fri, 6 Jun 2014 21:35:45 +0000 (14:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:07 +0000 (16:08 -0700)
commitc67fedfab2d29de88a62282e0633d43329552703
treeca0a5295450ec10e9ac6f13e23f318bcdce12f93
parent5028578595e761a3e418092e04db2ebf6c752a3f
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-m41t80.c