drm: kill get_reg_ofs callback
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Aug 2010 20:53:28 +0000 (22:53 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 29 Aug 2010 23:44:56 +0000 (09:44 +1000)
commitcbc60ca04b342a4e1f2a1086a7277c077f07dbed
tree3979a1304b20cc90a7ec1dce593657435aa48c8d
parentdf8fcb09667c1b2c9dcf65de23f0bfa851e8138e
drm: kill get_reg_ofs callback

Every driver used the default implementation. Fold that one into
the only callsite and drop the callback.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
14 files changed:
drivers/gpu/drm/drm_vm.c
drivers/gpu/drm/i810/i810_drv.c
drivers/gpu/drm/i830/i830_drv.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/mga/mga_drv.c
drivers/gpu/drm/nouveau/nouveau_drv.c
drivers/gpu/drm/r128/r128_drv.c
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/savage/savage_drv.c
drivers/gpu/drm/sis/sis_drv.c
drivers/gpu/drm/tdfx/tdfx_drv.c
drivers/gpu/drm/via/via_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/drmP.h