aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_platform.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 05:34:30 -0500
committerDave Airlie <airlied@redhat.com>2013-12-17 20:06:22 -0500
commite2577d455adb165e1046816e5ed092cc6d60f35a (patch)
tree0418f7d39057559072f57bd309423cfa4335a789 /drivers/gpu/drm/drm_platform.c
parent0ff420f7f50c7d429d1c00058a0350559c0b9bb5 (diff)
drm: rip out drm_platform_exit
This very much looks like a remnant of the old legady ums shadow attach days. Now with the last users gone we can rip it out since we won't ever support an ums drm driver again. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_platform.c')
-rw-r--r--drivers/gpu/drm/drm_platform.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/drm_platform.c b/drivers/gpu/drm/drm_platform.c
index fc24fee8ec83..56a48033eced 100644
--- a/drivers/gpu/drm/drm_platform.c
+++ b/drivers/gpu/drm/drm_platform.c
@@ -151,14 +151,3 @@ int drm_platform_init(struct drm_driver *driver, struct platform_device *platfor
151 return drm_get_platform_dev(platform_device, driver); 151 return drm_get_platform_dev(platform_device, driver);
152} 152}
153EXPORT_SYMBOL(drm_platform_init); 153EXPORT_SYMBOL(drm_platform_init);
154
155void drm_platform_exit(struct drm_driver *driver, struct platform_device *platform_device)
156{
157 struct drm_device *dev, *tmp;
158 DRM_DEBUG("\n");
159
160 list_for_each_entry_safe(dev, tmp, &driver->device_list, driver_item)
161 drm_put_dev(dev);
162 DRM_INFO("Module unloaded\n");
163}
164EXPORT_SYMBOL(drm_platform_exit);