Skip to content
Commit d4ad017d authored by Soha Jin's avatar Soha Jin Committed by Greg Kroah-Hartman
Browse files

platform: use fwnode_irq_get_byname instead of of_irq_get_byname to get irq



Not only platform devices described by OF have named interrupts, but
devices described by ACPI also have named interrupts. The fwnode is an
abstraction to different standards, and using fwnode_irq_get_byname can
support more devices.

Signed-off-by: default avatarSoha Jin <soha@lohu.info>
Tested-by: default avatarWende Tan <twd2.me@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27c0d217
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment