]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm: remove deprecated "drm_dev_unref" function
authorFernando Ramos <greenfoo@gluegarage.com>
Thu, 15 Nov 2018 22:16:24 +0000 (23:16 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 24 Nov 2018 21:12:55 +0000 (22:12 +0100)
There are no more places where this (deprecated) function is being used
from, thus it can now be removed.

Signed-off-by: Fernando Ramos <greenfoo@gluegarage.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20181115221634.22715-5-greenfoo@gluegarage.com
drivers/gpu/drm/drm_drv.c
include/drm/drm_drv.h

index aa1cef794f9a95d84b0777cd743f3d96c2c1f0be..5f7e99bf4fa446d62f16894578ba11ca99f9a596 100644 (file)
@@ -704,19 +704,6 @@ void drm_dev_put(struct drm_device *dev)
 }
 EXPORT_SYMBOL(drm_dev_put);
 
-/**
- * drm_dev_unref - Drop reference of a DRM device
- * @dev: device to drop reference of or NULL
- *
- * This is a compatibility alias for drm_dev_put() and should not be used by new
- * code.
- */
-void drm_dev_unref(struct drm_device *dev)
-{
-       drm_dev_put(dev);
-}
-EXPORT_SYMBOL(drm_dev_unref);
-
 static int create_compat_control_link(struct drm_device *dev)
 {
        struct drm_minor *minor;
index dbb2f6ad184aacdbdb9a8d4df9ea3ba39136d9fb..252dd216cc607e4a25e6d3bb0dba281b93235d97 100644 (file)
@@ -625,7 +625,6 @@ void drm_dev_unregister(struct drm_device *dev);
 
 void drm_dev_get(struct drm_device *dev);
 void drm_dev_put(struct drm_device *dev);
-void drm_dev_unref(struct drm_device *dev);
 void drm_put_dev(struct drm_device *dev);
 bool drm_dev_enter(struct drm_device *dev, int *idx);
 void drm_dev_exit(int idx);