Linux Kernels

mfd: tc3589x: Improve function-level documentation

This change “mfd: tc3589x: Improve function-level documentation” (commit d87814a) in Linux kernel is authored by Julia Lawall <Julia.Lawall [at] lip6.fr> on Sat Oct 1 21:46:23 2016 +0200.

Description of "mfd: tc3589x: Improve function-level documentation"

The change “mfd: tc3589x: Improve function-level documentation” introduces changes as follows.

mfd: tc3589x: Improve function-level documentation

Use the correct function name in one case and adjust a variable name to
that of the corresponding function parameter in another case.

Issue detected using Coccinelle (http://coccinelle.lip6.fr/)

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

Linux kernel releases containing commit d87814a

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "mfd: tc3589x: Improve function-level documentation"

There are 4 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/mfd/tc3589x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 
diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c
index 274bf39968aa..cc9e563f23aa 100644
--- a/drivers/mfd/tc3589x.c
+++ b/drivers/mfd/tc3589x.c
@@ -53,7 +53,7 @@ int tc3589x_reg_read(struct tc3589x *tc3589x, u8 reg)
 EXPORT_SYMBOL_GPL(tc3589x_reg_read);
 
 /**
- * tc3589x_reg_read() - write a single TC3589x register
+ * tc3589x_reg_write() - write a single TC3589x register
  * @tc3589x:	Device to write to
  * @reg:	Register to read
  * @data:	Value to write
@@ -118,7 +118,7 @@ EXPORT_SYMBOL_GPL(tc3589x_block_write);
  * @tc3589x:	Device to write to
  * @reg:	Register to write
  * @mask:	Mask of bits to set
- * @values:	Value to set
+ * @val:	Value to set
  */
 int tc3589x_set_bits(struct tc3589x *tc3589x, u8 reg, u8 mask, u8 val)
 {

The commit for this change in Linux stable tree is d87814a (patch).

Last modified: 2020/01/11 06:50