From 0f388acaba981c6c3ebee10528d88e42195f805f Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 15 Mar 2022 10:55:25 -0600 Subject: 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 Change-Id: I4e3b277f220fa70dcab21912c30f1d26d9bd8749 Reviewed-on: https://review.coreboot.org/c/flashrom/+/62840 Reviewed-by: Felix Singer Reviewed-by: Anastasia Klimchuk Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- include/i2c_helper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/i2c_helper.h') diff --git a/include/i2c_helper.h b/include/i2c_helper.h index 709a748d..c7d0f7a7 100644 --- a/include/i2c_helper.h +++ b/include/i2c_helper.h @@ -20,7 +20,7 @@ #include /** - * 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. * -- cgit v1.2.3