drm/mga: remove device_is_agp callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Apr 2017 19:32:25 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:20 +0000 (12:41 +0200)
commit9ec57c921b9d450520cd25dc52a6affb3a91186e
tree377e2cb7b05357df6ab67b3ca7147e6b5ebb368e
parentae3a3e209ef1e2fa7efac9bb54c6fe934755bff6
drm/mga: remove device_is_agp callback

[ Upstream commit 858b2c1bf820ebfba89c5e2867ab882bdb5b2f5a ]

It's only for a device quirk, and we might as well do that in the load
callback.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-10-daniel.vetter@ffwll.ch
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/mga/mga_dma.c
drivers/gpu/drm/mga/mga_drv.c