projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'amd-drm-fixes-6.5-2023-06-30-1' of https://gitlab.freedesktop.org/agd5f...
[platform/kernel/linux-rpi.git]
/
drivers
/
mfd
/
stmpe.c
diff --git
a/drivers/mfd/stmpe.c
b/drivers/mfd/stmpe.c
index
c304d20
..
a92301d
100644
(file)
--- a/
drivers/mfd/stmpe.c
+++ b/
drivers/mfd/stmpe.c
@@
-1378,7
+1378,7
@@
int stmpe_probe(struct stmpe_client_info *ci, enum stmpe_partnum partnum)
stmpe_of_probe(pdata, np);
- if (
of_find_property(np, "interrupts", NULL) == NULL
)
+ if (
!of_property_present(np, "interrupts")
)
ci->irq = -1;
stmpe = devm_kzalloc(ci->dev, sizeof(struct stmpe), GFP_KERNEL);