Skip to content

Commit 03ebff0

Browse files
committed
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
2 parents 0f70f5b + 52b70e5 commit 03ebff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/microblaze/kernel/timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ static int __init xilinx_timer_init(struct device_node *timer)
252252
int ret;
253253

254254
/* If this property is present, the device is a PWM and not a timer */
255-
if (of_property_read_bool(timer, "#pwm-cells"))
255+
if (of_property_present(timer, "#pwm-cells"))
256256
return 0;
257257

258258
if (initialized)

0 commit comments

Comments
 (0)