Commit 22f01029 authored by Tom Rix's avatar Tom Rix Committed by Greg Kroah-Hartman

xilinx_hwicap: cleanup comments

Remove the second 'the'.
Replacements:
was to what
intiate to initiate
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220215193054.3032955-1-trix@redhat.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3bc93c7b
...@@ -111,7 +111,7 @@ static inline u32 fifo_icap_fifo_read(struct hwicap_drvdata *drvdata) ...@@ -111,7 +111,7 @@ static inline u32 fifo_icap_fifo_read(struct hwicap_drvdata *drvdata)
} }
/** /**
* fifo_icap_set_read_size - Set the the size register. * fifo_icap_set_read_size - Set the size register.
* @drvdata: a pointer to the drvdata. * @drvdata: a pointer to the drvdata.
* @data: the size of the following read transaction, in words. * @data: the size of the following read transaction, in words.
**/ **/
......
...@@ -241,7 +241,7 @@ static int hwicap_command_desync(struct hwicap_drvdata *drvdata) ...@@ -241,7 +241,7 @@ static int hwicap_command_desync(struct hwicap_drvdata *drvdata)
buffer[index++] = XHI_NOOP_PACKET; buffer[index++] = XHI_NOOP_PACKET;
/* /*
* Write the data to the FIFO and intiate the transfer of data present * Write the data to the FIFO and initiate the transfer of data present
* in the FIFO to the ICAP device. * in the FIFO to the ICAP device.
*/ */
return drvdata->config->set_configuration(drvdata, return drvdata->config->set_configuration(drvdata,
...@@ -297,7 +297,7 @@ static int hwicap_get_configuration_register(struct hwicap_drvdata *drvdata, ...@@ -297,7 +297,7 @@ static int hwicap_get_configuration_register(struct hwicap_drvdata *drvdata,
buffer[index++] = XHI_NOOP_PACKET; buffer[index++] = XHI_NOOP_PACKET;
/* /*
* Write the data to the FIFO and intiate the transfer of data present * Write the data to the FIFO and initiate the transfer of data present
* in the FIFO to the ICAP device. * in the FIFO to the ICAP device.
*/ */
status = drvdata->config->set_configuration(drvdata, status = drvdata->config->set_configuration(drvdata,
...@@ -384,7 +384,7 @@ hwicap_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) ...@@ -384,7 +384,7 @@ hwicap_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
drvdata->read_buffer + bytes_to_read, drvdata->read_buffer + bytes_to_read,
4 - bytes_to_read); 4 - bytes_to_read);
} else { } else {
/* Get new data from the ICAP, and return was was requested. */ /* Get new data from the ICAP, and return what was requested. */
kbuf = (u32 *) get_zeroed_page(GFP_KERNEL); kbuf = (u32 *) get_zeroed_page(GFP_KERNEL);
if (!kbuf) { if (!kbuf) {
status = -ENOMEM; status = -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment