]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-max8907.c: remove redundant code
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 26 Mar 2013 23:25:47 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:52 +0000 (17:12 +1100)
commiteb0859789eaf1d19a9c44747d6e703a45e01d7ba
treed7a303e906c84b6c5dcb765625b509ee3771bdaa
parentfd3dc13dcbbf2aa2f40b904ed27a5954cba3778b
drivers/rtc/rtc-max8907.c: remove redundant code

Remove unnecessary goto statements to simplify the code.
devm_request_threaded_irq returns 0 upon success, hence explicit return 0
is not necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Chiwoong Byun <woong.byun@samsung.com>
Cc: Jonghwa Lee <jonghwa3.lee@samsung.com>
Cc: Laxman dewangan <ldewangan@nvidia.com>
Cc: Venu Byravarasu <vbyravarasu@nvidia.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-max8907.c