提交 277835ad 编写于 作者: H Hannes Eder 提交者: Jiri Kosina

trivial: rtc-stk17ta8: fix sparse warning

Fix this sparse warning:

  drivers/rtc/rtc-stk17ta8.c:403:2: warning: returning void-valued expression
Acked-by: NAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: NHannes Eder <hannes@hanneseder.net>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 4367fa51
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册