video: fbdev: s3c-fb: Use platform_get_irq() to get the interrupt
authorzhaoxiao <zhaoxiao@uniontech.com>
Fri, 11 Feb 2022 03:27:55 +0000 (11:27 +0800)
committerHelge Deller <deller@gmx.de>
Fri, 11 Feb 2022 09:39:13 +0000 (10:39 +0100)
commit4f37ea5d0e7c6ec65aa523db0ccd4ab9e52cb2e7
treec819cdb02cc1890630468c0c82e2f9c8d8c95026
parentc5510f53140c8d7c1c924414cbd8cc600a95d874
video: fbdev: s3c-fb: Use platform_get_irq() to get the interrupt

platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static
allocation of IRQ resources in DT core code, this causes an issue
when using hierarchical interrupt domains using "interrupts" property
in the node as this bypassed the hierarchical setup and messed up the
irq chaining.

In preparation for removal of static setup of IRQ resource from DT core
code use platform_get_irq().

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/s3c-fb.c