Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
rtc
/
rtc-max77686.c
diff --git
a/kernel/drivers/rtc/rtc-max77686.c
b/kernel/drivers/rtc/rtc-max77686.c
index
7184a0e
..
725dcca
100644
(file)
--- a/
kernel/drivers/rtc/rtc-max77686.c
+++ b/
kernel/drivers/rtc/rtc-max77686.c
@@
-465,7
+465,7
@@
static int max77686_rtc_probe(struct platform_device *pdev)
info->virq = regmap_irq_get_virq(max77686->rtc_irq_data,
MAX77686_RTCIRQ_RTCA1);
- if (
!info->virq
) {
+ if (
info->virq <= 0
) {
ret = -ENXIO;
goto err_rtc;
}