-
- Downloads
drm/mgag200: switch to drm_*_get(), drm_*_put() helpers
Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() and drm_*_unreference() helpers. drm_*_reference() and drm_*_unreference() functions are just compatibility alias for drm_*_get() and drm_*_put() and should not be used by new code. So convert all users of compatibility functions to use the new APIs. Generated by: scripts/coccinelle/api/drm-get-put.cocci Signed-off-by:Cihangir Akturk <cakturk@gmail.com> Signed-off-by:
Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/1502454794-28558-15-git-send-email-cakturk@gmail.com
Showing
- drivers/gpu/drm/mgag200/mgag200_cursor.c 1 addition, 1 deletiondrivers/gpu/drm/mgag200/mgag200_cursor.c
- drivers/gpu/drm/mgag200/mgag200_fb.c 2 additions, 2 deletionsdrivers/gpu/drm/mgag200/mgag200_fb.c
- drivers/gpu/drm/mgag200/mgag200_main.c 5 additions, 5 deletionsdrivers/gpu/drm/mgag200/mgag200_main.c
Loading
Please register or sign in to comment