fbdev fixes and updates for kernel 6.1-rc1:

- fixes an use-after-free in smscufx USB graphics driver,
- adds missing pci_disable_device() in tridentfb failure paths,
- correctly handle irq detection failure in mb862xx driver,
- fixes resume code in omapfb/dss,
- drops unused code in controlfb, tridentfb, arkfb, imxfb and udlfb,
- converts uvesafb to use scnprintf() instead of snprintf(),
- converts gbefb to use dev_groups,
- adds MODULE_DEVICE_TABLE() entry to vga16fb
fbdev: mb862xx: Fix check of return value from irq_of_parse_and_map()

NO_IRQ is used to check the return of irq_of_parse_and_map().
On some architecture NO_IRQ is 0, on other architectures it is -1.
irq_of_parse_and_map() returns 0 on error, independent of NO_IRQ.
So use 0 instead of using NO_IRQ.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Helge Deller <deller@gmx.de>
1 file changed