projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'nolibc.2022.07.27a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulm...
[linux-2.6-microblaze.git]
/
drivers
/
clocksource
/
timer-oxnas-rps.c
diff --git
a/drivers/clocksource/timer-oxnas-rps.c
b/drivers/clocksource/timer-oxnas-rps.c
index
56c0cc3
..
d514b44
100644
(file)
--- a/
drivers/clocksource/timer-oxnas-rps.c
+++ b/
drivers/clocksource/timer-oxnas-rps.c
@@
-236,7
+236,7
@@
static int __init oxnas_rps_timer_init(struct device_node *np)
}
rps->irq = irq_of_parse_and_map(np, 0);
- if (
rps->irq < 0
) {
+ if (
!rps->irq
) {
ret = -EINVAL;
goto err_iomap;
}