drm: Add kernel-doc for drm_crtc_commit_get/put
I was lazy, rectify that! Also align with drm_atomic_state_get/put for ocd. v2: Git add helps. Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161221130335.5321-1-daniel.vetter@ffwll.ch
This commit is contained in:
@@ -35,19 +35,14 @@
|
||||
|
||||
#include "drm_crtc_internal.h"
|
||||
|
||||
static void crtc_commit_free(struct kref *kref)
|
||||
void __drm_crtc_commit_free(struct kref *kref)
|
||||
{
|
||||
struct drm_crtc_commit *commit =
|
||||
container_of(kref, struct drm_crtc_commit, ref);
|
||||
|
||||
kfree(commit);
|
||||
}
|
||||
|
||||
void drm_crtc_commit_put(struct drm_crtc_commit *commit)
|
||||
{
|
||||
kref_put(&commit->ref, crtc_commit_free);
|
||||
}
|
||||
EXPORT_SYMBOL(drm_crtc_commit_put);
|
||||
EXPORT_SYMBOL(__drm_crtc_commit_free);
|
||||
|
||||
/**
|
||||
* drm_atomic_state_default_release -
|
||||
|
||||
Reference in New Issue
Block a user