summaryrefslogtreecommitdiff
path: root/include/asm-generic/early_ioremap.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-01-25 22:06:45 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-06-12 22:52:45 +0300
commitf13ab00567273c70ffbecb59e8f11491cc108bbd (patch)
tree38440eecbc5270312b7730e66ce92bda09eed171 /include/asm-generic/early_ioremap.h
parent42fb61cc687822855bc140147a3ba044f23d023e (diff)
downloadlinux-next-f13ab00567273c70ffbecb59e8f11491cc108bbd.tar.gz
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/asm-generic/early_ioremap.h')
0 files changed, 0 insertions, 0 deletions