Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: remove deprecated "drm_dev_unref" function

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

authored by

Fernando Ramos and committed by
Linus Walleij
ba1d3454 808bad32

-14
-13
drivers/gpu/drm/drm_drv.c
··· 704 704 } 705 705 EXPORT_SYMBOL(drm_dev_put); 706 706 707 - /** 708 - * drm_dev_unref - Drop reference of a DRM device 709 - * @dev: device to drop reference of or NULL 710 - * 711 - * This is a compatibility alias for drm_dev_put() and should not be used by new 712 - * code. 713 - */ 714 - void drm_dev_unref(struct drm_device *dev) 715 - { 716 - drm_dev_put(dev); 717 - } 718 - EXPORT_SYMBOL(drm_dev_unref); 719 - 720 707 static int create_compat_control_link(struct drm_device *dev) 721 708 { 722 709 struct drm_minor *minor;
-1
include/drm/drm_drv.h
··· 625 625 626 626 void drm_dev_get(struct drm_device *dev); 627 627 void drm_dev_put(struct drm_device *dev); 628 - void drm_dev_unref(struct drm_device *dev); 629 628 void drm_put_dev(struct drm_device *dev); 630 629 bool drm_dev_enter(struct drm_device *dev, int *idx); 631 630 void drm_dev_exit(int idx);