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>
This commit is contained in:

committed by
Dave Airlie

parent
df8fcb0966
commit
cbc60ca04b
@@ -42,7 +42,6 @@ static struct pci_device_id pciidlist[] = {
|
||||
static struct drm_driver driver = {
|
||||
.driver_features = DRIVER_USE_MTRR,
|
||||
.reclaim_buffers = drm_core_reclaim_buffers,
|
||||
.get_reg_ofs = drm_core_get_reg_ofs,
|
||||
.fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = drm_open,
|
||||
|
Reference in New Issue
Block a user