We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2014c95 commit 52b70e5Copy full SHA for 52b70e5
arch/microblaze/kernel/timer.c
@@ -252,7 +252,7 @@ static int __init xilinx_timer_init(struct device_node *timer)
252
int ret;
253
254
/* If this property is present, the device is a PWM and not a timer */
255
- if (of_property_read_bool(timer, "#pwm-cells"))
+ if (of_property_present(timer, "#pwm-cells"))
256
return 0;
257
258
if (initialized)
0 commit comments