Skip to contentSkip to conversation

i2c: rk3x: fix some typo

PATCH Superseded Yangtao Li 2 participants 3 messages Nov 1, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 i2c: rk3x: fix some typo

---
 drivers/i2c/busses/i2c-rk3x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-rk3x.c +2 -2
index b8a2728dd4b6..fe347e8e2a23 100644
@@ -555,7 +555,7 @@ static const struct i2c_spec_values *rk3x_i2c_get_spec(unsigned int speed)
  *
  * @clk_rate: I2C input clock rate
  * @t: Known I2C timing information
- * @t_calc: Caculated rk3x private timings that would be written into regs
+ * @t_calc: Calculated rk3x private timings that would be written into regs
  *
  * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that case
  * a best-effort divider value is returned in divs. If the target rate is
@@ -716,7 +716,7 @@ static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate,
  *
  * @clk_rate: I2C input clock rate
  * @t: Known I2C timing information
- * @t_calc: Caculated rk3x private timings that would be written into regs
+ * @t_calc: Calculated rk3x private timings that would be written into regs
  *
  * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that case
  * a best-effort divider value is returned in divs. If the target rate is
Signature · 1 line
2.17.0
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi,

Am Donnerstag, 1. November 2018, 16:37:49 CET schrieb Yangtao Li:

Quoted 1 line

while the changes really are pretty self-explanatory, it is always nice to describe changes in a real commit message, like

Fix multiple instances of a misspelled "Calculates".

Change itself looks good, so

Thanks
Heiko

Quoted 27 lines
---
 drivers/i2c/busses/i2c-rk3x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-rk3x.c +1 -1
index b8a2728dd4b6..fe347e8e2a23 100644
@@ -555,7 +555,7 @@ static const struct i2c_spec_values
 *rk3x_i2c_get_spec(unsigned int speed) *
  * @clk_rate: I2C input clock rate
  * @t: Known I2C timing information
- * @t_calc: Caculated rk3x private timings that would be written into regs
+ * @t_calc: Calculated rk3x private timings that would be written into regs
 *
  * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that

case * a best-effort divider value is returned in divs. If the target rate is @@ -716,7 +716,7 @@ static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate, *
* @clk_rate: I2C input clock rate
* @t: Known I2C timing information
- * @t_calc: Caculated rk3x private timings that would be written into regs
+ * @t_calc: Calculated rk3x private timings that would be written into regs *
* Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that
case * a best-effort divider value is returned in divs. If the target rate is

author
#2 lore raw
Quoted 8 lines

Hi,

Am Donnerstag, 1. November 2018, 16:37:49 CET schrieb Yangtao Li:

Quoted 1 line

while the changes really are pretty self-explanatory, it is always nice to describe changes in a real commit message, like

Quoted 7 lines

Fix multiple instances of a misspelled "Calculates".

Change itself looks good, so

Thanks

Yeah,this is my fault.

--Yangtao Li

Quoted 49 lines · Heiko St?bner

Hi,

Am Donnerstag, 1. November 2018, 16:37:49 CET schrieb Yangtao Li:

Quoted 1 line

while the changes really are pretty self-explanatory, it is always nice to describe changes in a real commit message, like

Fix multiple instances of a misspelled "Calculates".

Change itself looks good, so

Thanks
Heiko

Quoted 27 lines
---
 drivers/i2c/busses/i2c-rk3x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-rk3x.c +1 -1
index b8a2728dd4b6..fe347e8e2a23 100644
@@ -555,7 +555,7 @@ static const struct i2c_spec_values
 *rk3x_i2c_get_spec(unsigned int speed) *
  * @clk_rate: I2C input clock rate
  * @t: Known I2C timing information
- * @t_calc: Caculated rk3x private timings that would be written into regs
+ * @t_calc: Calculated rk3x private timings that would be written into regs
 *
  * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that

case * a best-effort divider value is returned in divs. If the target rate is @@ -716,7 +716,7 @@ static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate, *
* @clk_rate: I2C input clock rate
* @t: Known I2C timing information
- * @t_calc: Caculated rk3x private timings that would be written into regs
+ * @t_calc: Calculated rk3x private timings that would be written into regs *
* Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that
case * a best-effort divider value is returned in divs. If the target rate is