diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-05 20:55:52 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-12-19 04:25:02 -0500 |
commit | 5d9f5b33399cc57d04ceed05f011d6fe4136675a (patch) | |
tree | 1b0dcb54890be36dc7d0c981551ccca98a740d03 | |
parent | da06a922cf612c72e62a0bb655e9b40318ece35a (diff) |
drm: omapdrm: Remove unused parameter from omap_drm_irq handler
The only omap_drm_irq handler doesn't use the irqstatus parameter passed
to the function. Remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.h | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_irq.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.h b/drivers/gpu/drm/omapdrm/omap_drv.h index 56159992ba18..7868feb604fc 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.h +++ b/drivers/gpu/drm/omapdrm/omap_drv.h | |||
@@ -58,7 +58,7 @@ struct omap_drm_irq { | |||
58 | struct list_head node; | 58 | struct list_head node; |
59 | uint32_t irqmask; | 59 | uint32_t irqmask; |
60 | bool registered; | 60 | bool registered; |
61 | void (*irq)(struct omap_drm_irq *irq, uint32_t irqstatus); | 61 | void (*irq)(struct omap_drm_irq *irq); |
62 | }; | 62 | }; |
63 | 63 | ||
64 | /* For KMS code that needs to wait for a certain # of IRQs: | 64 | /* For KMS code that needs to wait for a certain # of IRQs: |
diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c index 2fda60105b3c..5b22d297f1ea 100644 --- a/drivers/gpu/drm/omapdrm/omap_irq.c +++ b/drivers/gpu/drm/omapdrm/omap_irq.c | |||
@@ -82,7 +82,7 @@ struct omap_irq_wait { | |||
82 | 82 | ||
83 | static DECLARE_WAIT_QUEUE_HEAD(wait_event); | 83 | static DECLARE_WAIT_QUEUE_HEAD(wait_event); |
84 | 84 | ||
85 | static void wait_irq(struct omap_drm_irq *irq, uint32_t irqstatus) | 85 | static void wait_irq(struct omap_drm_irq *irq) |
86 | { | 86 | { |
87 | struct omap_irq_wait *wait = | 87 | struct omap_irq_wait *wait = |
88 | container_of(irq, struct omap_irq_wait, irq); | 88 | container_of(irq, struct omap_irq_wait, irq); |
@@ -248,7 +248,7 @@ static irqreturn_t omap_irq_handler(int irq, void *arg) | |||
248 | list_for_each_entry_safe(handler, n, &priv->irq_list, node) { | 248 | list_for_each_entry_safe(handler, n, &priv->irq_list, node) { |
249 | if (handler->irqmask & irqstatus) { | 249 | if (handler->irqmask & irqstatus) { |
250 | spin_unlock_irqrestore(&list_lock, flags); | 250 | spin_unlock_irqrestore(&list_lock, flags); |
251 | handler->irq(handler, handler->irqmask & irqstatus); | 251 | handler->irq(handler); |
252 | spin_lock_irqsave(&list_lock, flags); | 252 | spin_lock_irqsave(&list_lock, flags); |
253 | } | 253 | } |
254 | } | 254 | } |