diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-16 09:16:33 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-07-21 11:29:05 +0300 |
commit | f6b1772b255504e9666cb8b1beabfd00abb2da56 (patch) | |
tree | 549454aa833501c3b4461d5bddfbabf2aecd28a3 /drivers/gpu/drm/nouveau/nouveau_vga.c | |
parent | b8779475869a26ffcd2fde279f7b364ec5722d0d (diff) | |
download | linux-f6b1772b255504e9666cb8b1beabfd00abb2da56.tar.xz |
vgaarb: remove the unused irq_set_state argument to vga_client_register
All callers pass NULL as the irq_set_state argument, so remove it and
the ->irq_set_state member in struct vga_device.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210716061634.2446357-7-hch@lst.de
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_vga.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_vga.c b/drivers/gpu/drm/nouveau/nouveau_vga.c index de7a3a860139..d071c11249a3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_vga.c +++ b/drivers/gpu/drm/nouveau/nouveau_vga.c @@ -94,7 +94,7 @@ nouveau_vga_init(struct nouveau_drm *drm) return; pdev = to_pci_dev(dev->dev); - vga_client_register(pdev, dev, NULL, nouveau_vga_set_decode); + vga_client_register(pdev, dev, nouveau_vga_set_decode); /* don't register Thunderbolt eGPU with vga_switcheroo */ if (pci_is_thunderbolt_attached(pdev)) |