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/radeon | |
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/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index d781914f8bcb..11e8e42d99b3 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -1434,7 +1434,7 @@ int radeon_device_init(struct radeon_device *rdev, /* if we have > 1 VGA cards, then disable the radeon VGA resources */ /* this will fail for cards that aren't VGA class devices, just * ignore it */ - vga_client_register(rdev->pdev, rdev, NULL, radeon_vga_set_decode); + vga_client_register(rdev->pdev, rdev, radeon_vga_set_decode); if (rdev->flags & RADEON_IS_PX) runtime = true; |