• Linus Walleij's avatar
    HID: cp2112: Use irqchip template · 6bfa3175
    Linus Walleij authored
    This makes the driver use the irqchip template to assign
    properties to the gpio_irq_chip instead of using the
    explicit calls to gpiochip_irqchip_add(). The irqchip is
    instead added while adding the gpiochip.
    
    Cc: Eudean Sun <eudean@arista.com>
    Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
    Cc: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    6bfa3175
hid-cp2112.c 36.2 KB