commit | c67fedfab2d29de88a62282e0633d43329552703 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@sang-engineering.com> | Fri Jun 06 14:35:45 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jun 06 16:08:07 2014 -0700 |
tree | ca0a5295450ec10e9ac6f13e23f318bcdce12f93 | |
parent | 5028578595e761a3e418092e04db2ebf6c752a3f [diff] |
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>