Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> 於 2020年11月13日 週五 下午5:00寫道: > > On Fri, Nov 13, 2020 at 3:34 AM Greentime Hu <greentime.hu@xxxxxxxxxx> wrote: > > > > 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: Greentime Hu <greentime.hu@xxxxxxxxxx> > > --- > > Please list the changes between versions of patches. What has changed since v2? changes in v3: Add 2 newlines changes in v2: Use irqd_to_hwirq() instead of d->hwirq and platform_get_irq() instead of irq_of_parse_and_map()