diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-09-29 09:31:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 11:56:02 -0400 |
commit | a8605ea2c20c2b97a54d7746c16ebef5ba29632a (patch) | |
tree | 5381189bc33345ce3c89c36c733b50c73ab37419 /drivers/misc/mei/amthif.c | |
parent | 764c065a65c31a09340e71d2c41652e7e05bf083 (diff) |
mei: fix KDoc documentation formatting
Fix Kdoc documentation formatting warnings
genertaed by ./scripts/kernel-doc
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/amthif.c')
-rw-r--r-- | drivers/misc/mei/amthif.c | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c index d9b0e761fcd2..29b3fd0ab505 100644 --- a/drivers/misc/mei/amthif.c +++ b/drivers/misc/mei/amthif.c | |||
@@ -122,7 +122,7 @@ int mei_amthif_host_init(struct mei_device *dev) | |||
122 | * @dev: the device structure | 122 | * @dev: the device structure |
123 | * @file: pointer to file object | 123 | * @file: pointer to file object |
124 | * | 124 | * |
125 | * returns returned a list entry on success, NULL on failure. | 125 | * Return: returned a list entry on success, NULL on failure. |
126 | */ | 126 | */ |
127 | struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev, | 127 | struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev, |
128 | struct file *file) | 128 | struct file *file) |
@@ -140,15 +140,14 @@ struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev, | |||
140 | * mei_amthif_read - read data from AMTHIF client | 140 | * mei_amthif_read - read data from AMTHIF client |
141 | * | 141 | * |
142 | * @dev: the device structure | 142 | * @dev: the device structure |
143 | * @if_num: minor number | ||
144 | * @file: pointer to file object | 143 | * @file: pointer to file object |
145 | * @*ubuf: pointer to user data in user space | 144 | * @ubuf: pointer to user data in user space |
146 | * @length: data length to read | 145 | * @length: data length to read |
147 | * @offset: data read offset | 146 | * @offset: data read offset |
148 | * | 147 | * |
149 | * Locking: called under "dev->device_lock" lock | 148 | * Locking: called under "dev->device_lock" lock |
150 | * | 149 | * |
151 | * returns | 150 | * Return: |
152 | * returned data length on success, | 151 | * returned data length on success, |
153 | * zero if no data to read, | 152 | * zero if no data to read, |
154 | * negative on failure. | 153 | * negative on failure. |
@@ -256,7 +255,7 @@ out: | |||
256 | * @dev: the device structure | 255 | * @dev: the device structure |
257 | * @cb: mei call back struct | 256 | * @cb: mei call back struct |
258 | * | 257 | * |
259 | * returns 0 on success, <0 on failure. | 258 | * Return: 0 on success, <0 on failure. |
260 | * | 259 | * |
261 | */ | 260 | */ |
262 | static int mei_amthif_send_cmd(struct mei_device *dev, struct mei_cl_cb *cb) | 261 | static int mei_amthif_send_cmd(struct mei_device *dev, struct mei_cl_cb *cb) |
@@ -326,7 +325,7 @@ static int mei_amthif_send_cmd(struct mei_device *dev, struct mei_cl_cb *cb) | |||
326 | * @dev: the device structure | 325 | * @dev: the device structure |
327 | * @cb: mei call back struct | 326 | * @cb: mei call back struct |
328 | * | 327 | * |
329 | * returns 0 on success, <0 on failure. | 328 | * Return: 0 on success, <0 on failure. |
330 | * | 329 | * |
331 | */ | 330 | */ |
332 | int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *cb) | 331 | int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *cb) |
@@ -356,8 +355,6 @@ int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *cb) | |||
356 | * mei_amthif_run_next_cmd | 355 | * mei_amthif_run_next_cmd |
357 | * | 356 | * |
358 | * @dev: the device structure | 357 | * @dev: the device structure |
359 | * | ||
360 | * returns 0 on success, <0 on failure. | ||
361 | */ | 358 | */ |
362 | void mei_amthif_run_next_cmd(struct mei_device *dev) | 359 | void mei_amthif_run_next_cmd(struct mei_device *dev) |
363 | { | 360 | { |
@@ -420,12 +417,11 @@ unsigned int mei_amthif_poll(struct mei_device *dev, | |||
420 | /** | 417 | /** |
421 | * mei_amthif_irq_write - write iamthif command in irq thread context. | 418 | * mei_amthif_irq_write - write iamthif command in irq thread context. |
422 | * | 419 | * |
423 | * @dev: the device structure. | ||
424 | * @cb_pos: callback block. | ||
425 | * @cl: private data of the file object. | 420 | * @cl: private data of the file object. |
421 | * @cb: callback block. | ||
426 | * @cmpl_list: complete list. | 422 | * @cmpl_list: complete list. |
427 | * | 423 | * |
428 | * returns 0, OK; otherwise, error. | 424 | * Return: 0, OK; otherwise, error. |
429 | */ | 425 | */ |
430 | int mei_amthif_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb, | 426 | int mei_amthif_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb, |
431 | struct mei_cl_cb *cmpl_list) | 427 | struct mei_cl_cb *cmpl_list) |
@@ -507,7 +503,7 @@ int mei_amthif_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb, | |||
507 | * @mei_hdr: header of amthif message | 503 | * @mei_hdr: header of amthif message |
508 | * @complete_list: An instance of our list structure | 504 | * @complete_list: An instance of our list structure |
509 | * | 505 | * |
510 | * returns 0 on success, <0 on failure. | 506 | * Return: 0 on success, <0 on failure. |
511 | */ | 507 | */ |
512 | int mei_amthif_irq_read_msg(struct mei_device *dev, | 508 | int mei_amthif_irq_read_msg(struct mei_device *dev, |
513 | struct mei_msg_hdr *mei_hdr, | 509 | struct mei_msg_hdr *mei_hdr, |
@@ -560,7 +556,7 @@ int mei_amthif_irq_read_msg(struct mei_device *dev, | |||
560 | * @dev: the device structure. | 556 | * @dev: the device structure. |
561 | * @slots: free slots. | 557 | * @slots: free slots. |
562 | * | 558 | * |
563 | * returns 0, OK; otherwise, error. | 559 | * Return: 0, OK; otherwise, error. |
564 | */ | 560 | */ |
565 | int mei_amthif_irq_read(struct mei_device *dev, s32 *slots) | 561 | int mei_amthif_irq_read(struct mei_device *dev, s32 *slots) |
566 | { | 562 | { |
@@ -590,7 +586,7 @@ int mei_amthif_irq_read(struct mei_device *dev, s32 *slots) | |||
590 | * mei_amthif_complete - complete amthif callback. | 586 | * mei_amthif_complete - complete amthif callback. |
591 | * | 587 | * |
592 | * @dev: the device structure. | 588 | * @dev: the device structure. |
593 | * @cb_pos: callback block. | 589 | * @cb: callback block. |
594 | */ | 590 | */ |
595 | void mei_amthif_complete(struct mei_device *dev, struct mei_cl_cb *cb) | 591 | void mei_amthif_complete(struct mei_device *dev, struct mei_cl_cb *cb) |
596 | { | 592 | { |
@@ -624,7 +620,7 @@ void mei_amthif_complete(struct mei_device *dev, struct mei_cl_cb *cb) | |||
624 | * mei_clear_list is called to clear resources associated with file | 620 | * mei_clear_list is called to clear resources associated with file |
625 | * when application calls close function or Ctrl-C was pressed | 621 | * when application calls close function or Ctrl-C was pressed |
626 | * | 622 | * |
627 | * returns true if callback removed from the list, false otherwise | 623 | * Return: true if callback removed from the list, false otherwise |
628 | */ | 624 | */ |
629 | static bool mei_clear_list(struct mei_device *dev, | 625 | static bool mei_clear_list(struct mei_device *dev, |
630 | const struct file *file, struct list_head *mei_cb_list) | 626 | const struct file *file, struct list_head *mei_cb_list) |
@@ -664,7 +660,7 @@ static bool mei_clear_list(struct mei_device *dev, | |||
664 | * mei_clear_lists is called to clear resources associated with file | 660 | * mei_clear_lists is called to clear resources associated with file |
665 | * when application calls close function or Ctrl-C was pressed | 661 | * when application calls close function or Ctrl-C was pressed |
666 | * | 662 | * |
667 | * returns true if callback removed from the list, false otherwise | 663 | * Return: true if callback removed from the list, false otherwise |
668 | */ | 664 | */ |
669 | static bool mei_clear_lists(struct mei_device *dev, struct file *file) | 665 | static bool mei_clear_lists(struct mei_device *dev, struct file *file) |
670 | { | 666 | { |
@@ -705,7 +701,7 @@ static bool mei_clear_lists(struct mei_device *dev, struct file *file) | |||
705 | * @dev: device structure | 701 | * @dev: device structure |
706 | * @file: pointer to file structure | 702 | * @file: pointer to file structure |
707 | * | 703 | * |
708 | * returns 0 on success, <0 on error | 704 | * Return: 0 on success, <0 on error |
709 | */ | 705 | */ |
710 | int mei_amthif_release(struct mei_device *dev, struct file *file) | 706 | int mei_amthif_release(struct mei_device *dev, struct file *file) |
711 | { | 707 | { |