summaryrefslogtreecommitdiffstats
path: root/include/i2c_helper.h
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-03-15 10:55:25 -0600
committerAnastasia Klimchuk <aklm@chromium.org>2022-05-03 05:23:23 +0000
commit0f388acaba981c6c3ebee10528d88e42195f805f (patch)
tree2a951abb04a839e94f5c6640b2b63ea52c6b27cc /include/i2c_helper.h
parent005aa915a0c687e8d73a3ed5b52735e8d3faf80a (diff)
downloadflashrom-0f388acaba981c6c3ebee10528d88e42195f805f.tar.gz
flashrom-0f388acaba981c6c3ebee10528d88e42195f805f.tar.bz2
flashrom-0f388acaba981c6c3ebee10528d88e42195f805f.zip
Global cleanup: Fix a few spelling errors
Just a trivial patch to fix a few errors found by codespell. Here's the command I used: codespell -S subprojects,out \ -L fwe,dout,tast,crate,parms,claus,nt,nd,te,truns,trun Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I4e3b277f220fa70dcab21912c30f1d26d9bd8749 Reviewed-on: https://review.coreboot.org/c/flashrom/+/62840 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'include/i2c_helper.h')
-rw-r--r--include/i2c_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/i2c_helper.h b/include/i2c_helper.h
index 709a748d1..c7d0f7a76 100644
--- a/include/i2c_helper.h
+++ b/include/i2c_helper.h
@@ -20,7 +20,7 @@
#include <inttypes.h>
/**
- * An convinent structure that contains the buffer size and the buffer
+ * An convenient structure that contains the buffer size and the buffer
* pointer. Used to wrap buffer details while doing the I2C data
* transfer on both input and output. It is the client's responsibility
* to use i2c_buffer_t_fill to initialize this struct instead of
@@ -118,7 +118,7 @@ int i2c_read(int fd, uint16_t addr, i2c_buffer_t *buf_read);
*
* @fd: file descriptor of the target device.
* @addr: I2C slave address of the target device.
- * @buf_write: data struct includes writting buffer and size.
+ * @buf_write: data struct includes writing buffer and size.
*
* This function does accept empty write and do nothing on such case.
*