mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 21:26:14 +01:00
Microblaze patches for 6.16-rc1
- Small OF update -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQSXAixArPbWpRanWW+rB/7wTvUR9QUCaDlKdQAKCRCrB/7wTvUR 9RKlAP4nd2lTnvBorX4Xk0/d9WAUwth6QvzYJHk4AFNajC3CcQD9GM/60bKw/Q5O 4REhkfaEVE3YWtY6GDM6X8ocQGjq6A0= =Xnv/ -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
03ebff0c83
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue