git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
char
/
s3c2410-rtc.c
diff --git
a/drivers/char/s3c2410-rtc.c
b/drivers/char/s3c2410-rtc.c
index
b0038b1
..
2e30865
100644
(file)
--- a/
drivers/char/s3c2410-rtc.c
+++ b/
drivers/char/s3c2410-rtc.c
@@
-448,13
+448,13
@@
static int s3c2410_rtc_probe(struct platform_device *pdev)
/* find the IRQs */
s3c2410_rtc_tickno = platform_get_irq(pdev, 1);
/* find the IRQs */
s3c2410_rtc_tickno = platform_get_irq(pdev, 1);
- if (s3c2410_rtc_tickno < 0) {
+ if (s3c2410_rtc_tickno <
=
0) {
dev_err(&pdev->dev, "no irq for rtc tick\n");
return -ENOENT;
}
s3c2410_rtc_alarmno = platform_get_irq(pdev, 0);
dev_err(&pdev->dev, "no irq for rtc tick\n");
return -ENOENT;
}
s3c2410_rtc_alarmno = platform_get_irq(pdev, 0);
- if (s3c2410_rtc_alarmno < 0) {
+ if (s3c2410_rtc_alarmno <
=
0) {
dev_err(&pdev->dev, "no irq for alarm\n");
return -ENOENT;
}
dev_err(&pdev->dev, "no irq for alarm\n");
return -ENOENT;
}