summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-08-02 13:04:20 +0300
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-10-09 00:34:44 +0300
commite75e45c25b66ae9a78fa2476df0bf99ad80f33f9 (patch)
tree74b345d2fa09b723136b96951cf4036517584deb /drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h
parent10f20628c9b8e924b8046e63b36b2cea4d2c85e4 (diff)
downloadlinux-stable-e75e45c25b66ae9a78fa2476df0bf99ad80f33f9.tar.gz
linux-stable-e75e45c25b66ae9a78fa2476df0bf99ad80f33f9.tar.bz2
linux-stable-e75e45c25b66ae9a78fa2476df0bf99ad80f33f9.zip
drm/msm/dpu: remove irq_idx argument from IRQ callbacks
There is no point in passing the IRQ index to IRQ callbacks, no function uses that. Drop it at last. Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/550925/ Link: https://lore.kernel.org/r/20230802100426.4184892-3-dmitry.baryshkov@linaro.org
Diffstat (limited to 'drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h')
-rw-r--r--drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h
index b5b6e7031fb9..ba06312cbb16 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h
@@ -53,7 +53,7 @@ u32 dpu_core_irq_read(
int dpu_core_irq_register_callback(
struct dpu_kms *dpu_kms,
int irq_idx,
- void (*irq_cb)(void *arg, int irq_idx),
+ void (*irq_cb)(void *arg),
void *irq_arg);
/**