w1: fix spelling mistakes in comments across the subsystem
PATCH v3 1/1 w1: fix spelling mistakes in comments across the subsystem
Following up on a prior patch that only fixed w1_netlink.c, sweep the rest of the w1 subsystem for the same class of comment typos:
"loosing" -> "losing", "deatch" -> "detach", "messagse" -> "messages", "continusly" -> "continuously", "attribut" -> "attribute", "deactive" -> "deactivate", "determing" -> "determining", "discrepency" -> "discrepancy", "rerurn" -> "return".
No functional change.
--- drivers/w1/masters/ds2482.c | 2 +- drivers/w1/masters/ds2490.c | 4 ++-- drivers/w1/masters/omap_hdq.c | 2 +- drivers/w1/slaves/w1_ds28e17.c | 2 +- drivers/w1/slaves/w1_therm.c | 2 +- drivers/w1/w1.c | 2 +- drivers/w1/w1_family.c | 2 +- drivers/w1/w1_netlink.h | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-)
drivers/w1/masters/ds2482.c +1 -1
@@ -425,7 +425,7 @@ static u8 ds2482_w1_set_pullup(void *data, int delay)/* if delay is non-zero activate the pullup, * the strong pullup will be automatically deactivated -* by the master, so do not explicitly deactive it +* by the master, so do not explicitly deactivate it */ if (delay) {/* both waits are crucial, otherwise devices might not be
drivers/w1/masters/ds2490.c +2 -2
@@ -561,7 +561,7 @@ static int ds_write_bit(struct ds_device *dev, u8 bit)/* Set COMM_ICP to write without a readback. Note, this will * produce one time slot, a down followed by an up with COMM_D -* only determing the timing. +* only determining the timing. */ err =ds_send_control (dev,COMM_BIT_IO |COMM_IM |COMM_ICP | (bit ?COMM_D :0 ),0 );
@@ -690,7 +690,7 @@ static void ds9490r_search(void *data, struct w1_master *master,* If the number of devices found is less than or equal to the * search_limit, that number of IDs will be returned. If there are * more, search_limit IDs will be returned followed by a non-zero -* discrepency value. +* discrepancy value. */ struct ds_device *dev = data;int err;
drivers/w1/masters/omap_hdq.c +1 -1
@@ -282,7 +282,7 @@ static int omap_hdq_break(struct hdq_data *hdq_data) }/* -* wait for both INIT and GO bits rerurn to zero. +* wait for both INIT and GO bits return to zero. * zero wait time expected for interrupt mode. */ ret = hdq_wait_for_flag(hdq_data, OMAP_HDQ_CTRL_STATUS,
drivers/w1/slaves/w1_ds28e17.c +1 -1
@@ -101,7 +101,7 @@ static int w1_f19_i2c_busy_wait(struct w1_slave *sl, size_t count) timebases[data->speed] * (data->stretch) * count + W1_F19_BUSY_GRATUITY); -/* Now continusly check the busy flag sent by the DS28E17. */ +/* Now continuously check the busy flag sent by the DS28E17. */ checks =W1_F19_BUSY_CHECKS ;while ((checks--) >0 ) {/* Return success if the busy flag is cleared. */
drivers/w1/slaves/w1_therm.c +1 -1
@@ -355,7 +355,7 @@ static DEVICE_ATTR_RW(alarms);static DEVICE_ATTR_RW (conv_time);static DEVICE_ATTR_RW (features); -static DEVICE_ATTR_RW (therm_bulk_read);/* attribut at master level */ +static DEVICE_ATTR_RW (therm_bulk_read);/* attribute at master level */ /* Interface Functions declaration */
drivers/w1/w1.c +1 -1
@@ -1182,7 +1182,7 @@ int w1_process(void *data)__set_current_state (TASK_INTERRUPTIBLE ); -/* hold list_mutex until after interruptible to prevent loosing +/* hold list_mutex until after interruptible to prevent losing * the wakeup signal when async_cmd is added. */ mutex_unlock (&dev->list_mutex);
drivers/w1/w1_family.c +1 -1
@@ -67,7 +67,7 @@ void w1_unregister_family(struct w1_family *fent) }spin_unlock (&w1_flock); -/* deatch devices using this family code */ +/* detach devices using this family code */ w1_reconnect_slaves (fent,0 );while (atomic_read (&fent->refcnt)) {
drivers/w1/w1_netlink.h +1 -1
@@ -14,7 +14,7 @@/** * enum w1_cn_msg_flags - bitfield flags for struct cn_msg.flags * -* @W1_CN_BUNDLE: Request bundling replies into fewer messagse. Be prepared +* @W1_CN_BUNDLE: Request bundling replies into fewer messages. Be prepared * to handle multiple struct cn_msg, struct w1_netlink_msg, and * struct w1_netlink_cmd in one packet. */
Signature · 1 line
2.55.0
Quoted 8 lines · Ivy Lopez
Following up on a prior patch that only fixed
w1_netlink.c, sweep the rest of the w1 subsystem for the same class of comment typos:
"loosing" -> "losing", "deatch" -> "detach", "messagse" -> "messages", "continusly" -> "continuously", "attribut" -> "attribute", "deactive" -> "deactivate", "determing" -> "determining", "discrepency" -> "discrepancy", "rerurn" -> "return".[...]
Applied, thanks!
[1/1] w1: fix spelling mistakes in comments across the subsystem
https://git.kernel.org/krzk/linux-w1/c/813a5b9a3c9f6cee830b1e23343fbd2359683557
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>