• Linus Walleij's avatar
    gpio/em: convert to linear IRQ domain · 7385500a
    Linus Walleij authored
    The code in the em driver seems to want to try to do the job of
    the linear IRQ domain (allocate descriptors and grab a virtual
    range). So why not just use the linear IRQ domain? The code is
    now cut down so we don't need isolated functions for this.
    
    Also note that we use irq_create_mapping() to make sure
    descriptors are allocated for these IRQs.
    
    Also fixed the FIXME to remove the domain after use.
    
    Cc: Grant Likely <grant.likely@secretlab.ca>
    Cc: Magnus Damm <damm@opensource.se>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    7385500a
gpio-em.c 9.56 KB