diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2018-12-18 21:32:36 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2019-01-24 23:36:32 +0300 |
commit | 878411aef631e4e2dd8d6c7cdb01e95a076cbcb9 (patch) | |
tree | c96cf6dd8cdabad700b7c3c7128262c5e35b13b5 /drivers/gpu/drm/msm/msm_gpu.c | |
parent | c878a628e0c483ec36fa70f4590e4a58e34a6e49 (diff) | |
download | linux-878411aef631e4e2dd8d6c7cdb01e95a076cbcb9.tar.xz |
drm/msm/gpu: Remove hardcoded interrupt name
Every GPU core only has one interrupt so there isn't any
value in looking up the interrupt by name. Remove the name (which
is legacy anyway) and use platform_get_irq() instead.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index 6e079a83bd36..abefba5b14e7 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -897,7 +897,7 @@ int msm_gpu_init(struct drm_device *drm, struct platform_device *pdev, } /* Get Interrupt: */ - gpu->irq = platform_get_irq_byname(pdev, config->irqname); + gpu->irq = platform_get_irq(pdev, 0); if (gpu->irq < 0) { ret = gpu->irq; DRM_DEV_ERROR(drm->dev, "failed to get irq: %d\n", ret); |