mirror of https://gitee.com/openkylin/linux.git
trivial: rtc-stk17ta8: fix sparse warning
Fix this sparse warning: drivers/rtc/rtc-stk17ta8.c:403:2: warning: returning void-valued expression Acked-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
4367fa5107
commit
277835adca
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue