xilinx_hwicap: cleanup comments
Subsystems (2)
PATCH 1/1 xilinx_hwicap: cleanup comments
From: Tom Rix <[email protected]>
Remove the second 'the'.
Replacements:
was to what
intiate to initiate
Signed-off-by Tom Rix <[email protected]>
--- drivers/char/xilinx_hwicap/fifo_icap.c | 2 +- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/char/xilinx_hwicap/fifo_icap.c +1 -1
@@ -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. * @data: the size of the following read transaction, in words. **/
drivers/char/xilinx_hwicap/xilinx_hwicap.c +3 -3
@@ -241,7 +241,7 @@ static int hwicap_command_desync(struct hwicap_drvdata *drvdata) 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. */ return drvdata->config->set_configuration(drvdata,
@@ -297,7 +297,7 @@ static int hwicap_get_configuration_register(struct hwicap_drvdata *drvdata, 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. */ status = drvdata->config->set_configuration(drvdata,
@@ -384,7 +384,7 @@ hwicap_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) drvdata->read_buffer + bytes_to_read, 4 - bytes_to_read); }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 );if (!kbuf) { status = -ENOMEM ;
Signature · 1 line
2.26.3