diff options
author | Haneen Mohammed <hamohammed.sa@gmail.com> | 2018-03-20 16:37:49 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-03-22 16:21:53 +0300 |
commit | 3ae7fb202d86b7847f237daa474f3946bdc3b0c6 (patch) | |
tree | f9943170b3d46ace55d9802ef40d007ac044616d /include/drm | |
parent | 1c7095d2836baafd84e596dd34ba1a1293a4faa9 (diff) | |
download | linux-3ae7fb202d86b7847f237daa474f3946bdc3b0c6.tar.xz |
drm: Remove drm_property_{un/reference}_blob aliases
This patch remove the compatibility aliases
drm_property_{reference/unreference}_blob of
drm_property_blob_{get/put} since all callers have been converted to the
prefered _{get/put}.
Remove the helpers from the semantic patch drm-get-put-cocci.
Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320133749.GA11695@haneen-VirtualBox
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_property.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/drm/drm_property.h b/include/drm/drm_property.h index d1423c7f3c73..ab8167baade5 100644 --- a/include/drm/drm_property.h +++ b/include/drm/drm_property.h @@ -281,32 +281,6 @@ struct drm_property_blob *drm_property_blob_get(struct drm_property_blob *blob); void drm_property_blob_put(struct drm_property_blob *blob); /** - * drm_property_reference_blob - acquire a blob property reference - * @blob: DRM blob property - * - * This is a compatibility alias for drm_property_blob_get() and should not be - * used by new code. - */ -static inline struct drm_property_blob * -drm_property_reference_blob(struct drm_property_blob *blob) -{ - return drm_property_blob_get(blob); -} - -/** - * drm_property_unreference_blob - release a blob property reference - * @blob: DRM blob property - * - * This is a compatibility alias for drm_property_blob_put() and should not be - * used by new code. - */ -static inline void -drm_property_unreference_blob(struct drm_property_blob *blob) -{ - drm_property_blob_put(blob); -} - -/** * drm_property_find - find property object * @dev: DRM device * @file_priv: drm file to check for lease against. |