diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-29 15:48:24 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-30 06:54:04 -0500 |
commit | f641d3b536e559dd2bae9245ec2e7d86cdf623fd (patch) | |
tree | ba3ea1d4bc60b15cb61905b97e60a61e072c7ae8 /drivers/dma-buf | |
parent | 05fc03217e08b90bff1ff22792d5f86dd32f15a6 (diff) |
dma-buf: 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: Sumit Semwal <sumit.semwal@linaro.org>
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-4-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r-- | drivers/dma-buf/dma-buf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index 91aff74ed092..ab814aff0a5b 100644 --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma-buf.c | |||
@@ -128,7 +128,7 @@ static loff_t dma_buf_llseek(struct file *file, loff_t offset, int whence) | |||
128 | * DOC: fence polling | 128 | * DOC: fence polling |
129 | * | 129 | * |
130 | * To support cross-device and cross-driver synchronization of buffer access | 130 | * To support cross-device and cross-driver synchronization of buffer access |
131 | * implicit fences (represented internally in the kernel with struct &fence) can | 131 | * implicit fences (represented internally in the kernel with &struct fence) can |
132 | * be attached to a &dma_buf. The glue for that and a few related things are | 132 | * be attached to a &dma_buf. The glue for that and a few related things are |
133 | * provided in the &reservation_object structure. | 133 | * provided in the &reservation_object structure. |
134 | * | 134 | * |
@@ -373,7 +373,7 @@ static inline int is_dma_buf_file(struct file *file) | |||
373 | * Additionally, provide a name string for exporter; useful in debugging. | 373 | * Additionally, provide a name string for exporter; useful in debugging. |
374 | * | 374 | * |
375 | * @exp_info: [in] holds all the export related information provided | 375 | * @exp_info: [in] holds all the export related information provided |
376 | * by the exporter. see struct &dma_buf_export_info | 376 | * by the exporter. see &struct dma_buf_export_info |
377 | * for further details. | 377 | * for further details. |
378 | * | 378 | * |
379 | * Returns, on success, a newly created dma_buf object, which wraps the | 379 | * Returns, on success, a newly created dma_buf object, which wraps the |
@@ -517,7 +517,7 @@ EXPORT_SYMBOL_GPL(dma_buf_get); | |||
517 | * | 517 | * |
518 | * If, as a result of this call, the refcount becomes 0, the 'release' file | 518 | * If, as a result of this call, the refcount becomes 0, the 'release' file |
519 | * operation related to this fd is called. It calls the release operation of | 519 | * operation related to this fd is called. It calls the release operation of |
520 | * struct &dma_buf_ops in turn, and frees the memory allocated for dmabuf when | 520 | * &struct dma_buf_ops in turn, and frees the memory allocated for dmabuf when |
521 | * exported. | 521 | * exported. |
522 | */ | 522 | */ |
523 | void dma_buf_put(struct dma_buf *dmabuf) | 523 | void dma_buf_put(struct dma_buf *dmabuf) |