video: fbdev: arcfb: add missed free_irq and fix the order of request_irq
authorChuhong Yuan <hslester96@gmail.com>
Tue, 24 Mar 2020 13:23:53 +0000 (21:23 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 17 Apr 2020 13:50:13 +0000 (15:50 +0200)
commitfbe3d80df87bb3f91fe1d8b421b69c3c8d089640
tree8ceefab89e3e00a43aad597bea01e6cd72c4d97b
parent8213fb41874f3e013b67915c4d1802efe05fd496
video: fbdev: arcfb: add missed free_irq and fix the order of request_irq

The driver forgets to free irq in remove which is requested in
probe.
Add the missed call to fix it.
Also, the position of request_irq() in probe should be put before
register_framebuffer().

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200324132353.21785-1-hslester96@gmail.com
drivers/video/fbdev/arcfb.c