Skip to content
Commit f52d6d8b authored by Greentime Hu's avatar Greentime Hu Committed by Bartosz Golaszewski
Browse files

gpio: sifive: To get gpio irq offset from device tree data



We can get hwirq number of the gpio by its irq_data->hwirq so that we don't
need to add more macros for different platforms. This patch is tested in
SiFive Unleashed board and SiFive Unmatched board.

Signed-off-by: default avatarGreentime Hu <greentime.hu@sifive.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 3c6e73e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment