Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113097
b: refs/heads/master
c: 3ca60f6
h: refs/heads/master
i:
  113095: dca2fdf
v: v3
  • Loading branch information
Krzysztof Helt authored and David S. Miller committed Sep 3, 2008
1 parent 1cc21a7 commit 3480179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 5280267c1dddb8d413595b87dc406624bb497946
refs/heads/master: 3ca60f6e637cee8c735a7448fd912fe1a6e42fc1
4 changes: 1 addition & 3 deletions trunk/drivers/rtc/rtc-m48t59.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

struct m48t59_private {
void __iomem *ioaddr;
unsigned int size; /* iomem size */
int irq;
struct rtc_device *rtc;
spinlock_t lock; /* serialize the NVRAM and RTC access */
Expand Down Expand Up @@ -403,8 +402,7 @@ static int __devinit m48t59_rtc_probe(struct platform_device *pdev)
if (!m48t59)
return -ENOMEM;

m48t59->size = res->end - res->start + 1;
m48t59->ioaddr = ioremap(res->start, m48t59->size);
m48t59->ioaddr = ioremap(res->start, res->end - res->start + 1);
if (!m48t59->ioaddr)
goto out;

Expand Down

0 comments on commit 3480179

Please sign in to comment.