Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56529
b: refs/heads/master
c: 558a40f
h: refs/heads/master
i:
  56527: 78434bd
v: v3
  • Loading branch information
David Brownell authored and Linus Torvalds committed May 17, 2007
1 parent 0e63cde commit a1cdd2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 83c6590cb83d3106df12fee36ac2a261951b8c88
refs/heads/master: 558a40f708bbfb1b260d605cca6c3b9d2c86453e
4 changes: 2 additions & 2 deletions trunk/drivers/rtc/rtc-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ static int __devinit omap_rtc_probe(struct platform_device *pdev)
goto fail;
}
platform_set_drvdata(pdev, rtc);
dev_set_devdata(&rtc->dev, mem);
dev_set_drvdata(&rtc->dev, mem);

/* clear pending irqs, and set 1/second periodic,
* which we'll use instead of update irqs
Expand Down Expand Up @@ -453,7 +453,7 @@ static int __devexit omap_rtc_remove(struct platform_device *pdev)
free_irq(omap_rtc_timer, rtc);
free_irq(omap_rtc_alarm, rtc);

release_resource(dev_get_devdata(&rtc->dev));
release_resource(dev_get_drvdata(&rtc->dev));
rtc_device_unregister(rtc);
return 0;
}
Expand Down

0 comments on commit a1cdd2c

Please sign in to comment.