diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-08-23 16:53:28 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-29 19:44:56 -0400 |
commit | cbc60ca04b342a4e1f2a1086a7277c077f07dbed (patch) | |
tree | 3979a1304b20cc90a7ec1dce593657435aa48c8d /drivers/gpu/drm/sis | |
parent | df8fcb09667c1b2c9dcf65de23f0bfa851e8138e (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/sis')
-rw-r--r-- | drivers/gpu/drm/sis/sis_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sis/sis_drv.c b/drivers/gpu/drm/sis/sis_drv.c index 72b0a74f265f..4d9f311d249d 100644 --- a/drivers/gpu/drm/sis/sis_drv.c +++ b/drivers/gpu/drm/sis/sis_drv.c | |||
@@ -71,7 +71,6 @@ static struct drm_driver driver = { | |||
71 | .reclaim_buffers = NULL, | 71 | .reclaim_buffers = NULL, |
72 | .reclaim_buffers_idlelocked = sis_reclaim_buffers_locked, | 72 | .reclaim_buffers_idlelocked = sis_reclaim_buffers_locked, |
73 | .lastclose = sis_lastclose, | 73 | .lastclose = sis_lastclose, |
74 | .get_reg_ofs = drm_core_get_reg_ofs, | ||
75 | .ioctls = sis_ioctls, | 74 | .ioctls = sis_ioctls, |
76 | .fops = { | 75 | .fops = { |
77 | .owner = THIS_MODULE, | 76 | .owner = THIS_MODULE, |