aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-05-30 21:11:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2025-05-30 21:11:21 -0700
commit03ebff0c837b3636f0a33901e9b2cd66a13f5f3b (patch)
tree60b9b2dcdf8310745f5d3c8296ea83b623b24ab6 /arch/microblaze
parentMerge tag 'pull-automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (diff)
parentmicroblaze: Use of_property_present() for non-boolean properties (diff)
downloadlinux-rng-03ebff0c837b3636f0a33901e9b2cd66a13f5f3b.tar.xz
linux-rng-03ebff0c837b3636f0a33901e9b2cd66a13f5f3b.zip
Merge tag 'microblaze-v6.16' of git://git.monstr.eu/linux-2.6-microblaze
Pull microblaze update from Michal Simek: - Small OF update * tag 'microblaze-v6.16' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: Use of_property_present() for non-boolean properties
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c
index 26c385582c3b..ccb4b4b59bca 100644
--- a/arch/microblaze/kernel/timer.c
+++ b/arch/microblaze/kernel/timer.c
@@ -252,7 +252,7 @@ static int __init xilinx_timer_init(struct device_node *timer)
int ret;
/* If this property is present, the device is a PWM and not a timer */
- if (of_property_read_bool(timer, "#pwm-cells"))
+ if (of_property_present(timer, "#pwm-cells"))
return 0;
if (initialized)