diff options
author | 2025-05-30 21:11:21 -0700 | |
---|---|---|
committer | 2025-05-30 21:11:21 -0700 | |
commit | 03ebff0c837b3636f0a33901e9b2cd66a13f5f3b (patch) | |
tree | 60b9b2dcdf8310745f5d3c8296ea83b623b24ab6 | |
parent | Merge tag 'pull-automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (diff) | |
parent | microblaze: Use of_property_present() for non-boolean properties (diff) | |
download | linux-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
-rw-r--r-- | arch/microblaze/kernel/timer.c | 2 |
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) |