Skip to content

Commit

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

  drivers/rtc/rtc-ds1511.c:634: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>
  • Loading branch information
Hannes Eder authored and Jiri Kosina committed Jan 6, 2009
1 parent 24d431d commit 4367fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-ds1511.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ ds1511_rtc_init(void)
static void __exit
ds1511_rtc_exit(void)
{
return platform_driver_unregister(&ds1511_rtc_driver);
platform_driver_unregister(&ds1511_rtc_driver);
}

module_init(ds1511_rtc_init);
Expand Down

0 comments on commit 4367fa5

Please sign in to comment.