Skip to content

Commit

Permalink
trivial: rtc-stk17ta8: fix sparse warning
Browse files Browse the repository at this point in the history
Fix this sparse warning:

  drivers/rtc/rtc-stk17ta8.c:403:2: warning: returning void-valued expression

Acked-by: Alessandro Zummo <[email protected]>
Signed-off-by: Hannes Eder <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
hanneseder-net authored and Jiri Kosina committed Jan 6, 2009
1 parent 4367fa5 commit 277835a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-stk17ta8.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ static __init int stk17ta8_init(void)

static __exit void stk17ta8_exit(void)
{
return platform_driver_unregister(&stk17ta8_rtc_driver);
platform_driver_unregister(&stk17ta8_rtc_driver);
}

module_init(stk17ta8_init);
Expand Down

0 comments on commit 277835a

Please sign in to comment.