diff options
| author | Julia Lawall <Julia.Lawall@lip6.fr> | 2016-10-01 15:46:23 -0400 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2016-11-29 03:21:19 -0500 |
| commit | d87814a3e846aa23a1ae3519413841954d27fb40 (patch) | |
| tree | 5c8103975517ed880e0f3e5368833a60f51c9ee3 /drivers/mfd | |
| parent | 937d3a0af521ece133a8716c1bf2d8044e15faa0 (diff) | |
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>
Diffstat (limited to 'drivers/mfd')
| -rw-r--r-- | drivers/mfd/tc3589x.c | 4 |
1 files 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) | |||
| 53 | EXPORT_SYMBOL_GPL(tc3589x_reg_read); | 53 | EXPORT_SYMBOL_GPL(tc3589x_reg_read); |
| 54 | 54 | ||
| 55 | /** | 55 | /** |
| 56 | * tc3589x_reg_read() - write a single TC3589x register | 56 | * tc3589x_reg_write() - write a single TC3589x register |
| 57 | * @tc3589x: Device to write to | 57 | * @tc3589x: Device to write to |
| 58 | * @reg: Register to read | 58 | * @reg: Register to read |
| 59 | * @data: Value to write | 59 | * @data: Value to write |
| @@ -118,7 +118,7 @@ EXPORT_SYMBOL_GPL(tc3589x_block_write); | |||
| 118 | * @tc3589x: Device to write to | 118 | * @tc3589x: Device to write to |
| 119 | * @reg: Register to write | 119 | * @reg: Register to write |
| 120 | * @mask: Mask of bits to set | 120 | * @mask: Mask of bits to set |
| 121 | * @values: Value to set | 121 | * @val: Value to set |
| 122 | */ | 122 | */ |
| 123 | int tc3589x_set_bits(struct tc3589x *tc3589x, u8 reg, u8 mask, u8 val) | 123 | int tc3589x_set_bits(struct tc3589x *tc3589x, u8 reg, u8 mask, u8 val) |
| 124 | { | 124 | { |
