Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311824
b: refs/heads/master
c: ad49fcb
h: refs/heads/master
v: v3
  • Loading branch information
Lee Jones authored and Linus Torvalds committed Jul 11, 2012
1 parent e6ea2f8 commit ead1fee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3cfd16a551dc0c188160e1765168a04baf2d3198
refs/heads/master: ad49fcbe9083f42321adfdd217ed2e0037fd739f
8 changes: 7 additions & 1 deletion trunk/drivers/rtc/rtc-ab8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/mfd/abx500.h>
#include <linux/mfd/abx500/ab8500.h>
#include <linux/delay.h>
#include <linux/of.h>

#define AB8500_RTC_SOFF_STAT_REG 0x00
#define AB8500_RTC_CC_CONF_REG 0x01
Expand Down Expand Up @@ -430,7 +431,6 @@ static int __devinit ab8500_rtc_probe(struct platform_device *pdev)

platform_set_drvdata(pdev, rtc);


err = ab8500_sysfs_rtc_register(&pdev->dev);
if (err) {
dev_err(&pdev->dev, "sysfs RTC failed to register\n");
Expand All @@ -454,10 +454,16 @@ static int __devexit ab8500_rtc_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id ab8500_rtc_match[] = {
{ .compatible = "stericsson,ab8500-rtc", },
{}
};

static struct platform_driver ab8500_rtc_driver = {
.driver = {
.name = "ab8500-rtc",
.owner = THIS_MODULE,
.of_match_table = ab8500_rtc_match,
},
.probe = ab8500_rtc_probe,
.remove = __devexit_p(ab8500_rtc_remove),
Expand Down

0 comments on commit ead1fee

Please sign in to comment.