aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_auth.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-29 15:48:26 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-30 07:34:59 -0500
commitea0dd85a75f15174cc2bf75f805e378391995931 (patch)
treee2dc904067a98bec44e04ca870b46d4e4434de9e /drivers/gpu/drm/drm_auth.c
parente9b4d7b56f293ed4de9ff7d16759d33492f83180 (diff)
drm/doc: use preferred struct reference in kernel-doc
sed -e 's/\( \* .*\)struct &\([_a-z]*\)/\1\&struct \2/' -i Originally I wasnt a friend of this style because I thought a line-break between the "&struct" and "foo" part would break it. But a quick test shows that " * &struct \n * foo\n" works pefectly well with current kernel-doc. So time to mass-apply these changes! Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-6-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_auth.c')
-rw-r--r--drivers/gpu/drm/drm_auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_auth.c b/drivers/gpu/drm/drm_auth.c
index 6b143514a566..860cfe124c2a 100644
--- a/drivers/gpu/drm/drm_auth.c
+++ b/drivers/gpu/drm/drm_auth.c
@@ -35,8 +35,8 @@
35/** 35/**
36 * DOC: master and authentication 36 * DOC: master and authentication
37 * 37 *
38 * struct &drm_master is used to track groups of clients with open 38 * &struct drm_master is used to track groups of clients with open
39 * primary/legacy device nodes. For every struct &drm_file which has had at 39 * primary/legacy device nodes. For every &struct drm_file which has had at
40 * least once successfully became the device master (either through the 40 * least once successfully became the device master (either through the
41 * SET_MASTER IOCTL, or implicitly through opening the primary device node when 41 * SET_MASTER IOCTL, or implicitly through opening the primary device node when
42 * no one else is the current master that time) there exists one &drm_master. 42 * no one else is the current master that time) there exists one &drm_master.
@@ -294,7 +294,7 @@ EXPORT_SYMBOL(drm_is_current_master);
294 294
295/** 295/**
296 * drm_master_get - reference a master pointer 296 * drm_master_get - reference a master pointer
297 * @master: struct &drm_master 297 * @master: &struct drm_master
298 * 298 *
299 * Increments the reference count of @master and returns a pointer to @master. 299 * Increments the reference count of @master and returns a pointer to @master.
300 */ 300 */
@@ -322,7 +322,7 @@ static void drm_master_destroy(struct kref *kref)
322 322
323/** 323/**
324 * drm_master_put - unreference and clear a master pointer 324 * drm_master_put - unreference and clear a master pointer
325 * @master: pointer to a pointer of struct &drm_master 325 * @master: pointer to a pointer of &struct drm_master
326 * 326 *
327 * This decrements the &drm_master behind @master and sets it to NULL. 327 * This decrements the &drm_master behind @master and sets it to NULL.
328 */ 328 */