From: Laurent Pinchart Date: Sun, 25 Jan 2015 20:06:45 +0000 (+0200) Subject: drm: omapdrm: Simplify IRQ registration X-Git-Tag: omap-for-v4.2/fixes-rc1^2~17^2~16^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f13ab00567273c70ffbecb59e8f11491cc108bbd;p=pandora-kernel.git drm: omapdrm: Simplify IRQ registration The omapdrm can't use drm_irq_install() and drm_irq_uninstall() as it delegates IRQ handling to the omapdss driver. However, the code still declares IRQ-related operations used by the DRM IRQ helpers, and calls them indirectly. Simplify the implementation by calling the functions directly or inlining them. The irq_enabled checks can then also be simplified as the call stacks guarantees that omap_drm_irq_install() and omap_drm_irq_uninstall() will never run concurrently. Signed-off-by: Laurent Pinchart Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed