Skip to content

Commit f358f9f

Browse files
XenuIsWatchingkartben
authored andcommitted
drivers: i3c: run clang-formatter on hdr_ddr.h
run the clang-format on hdr_ddr.h Signed-off-by: Ryan McClelland <[email protected]>
1 parent e8e590e commit f358f9f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/zephyr/drivers/i3c/hdr_ddr.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ extern "C" {
3838
* @retval -EBUSY Bus is busy.
3939
* @retval -EIO General input / output error.
4040
*/
41-
static inline int i3c_hdr_ddr_write(struct i3c_device_desc *target, uint8_t cmd,
42-
uint8_t *buf, uint32_t num_bytes)
41+
static inline int i3c_hdr_ddr_write(struct i3c_device_desc *target, uint8_t cmd, uint8_t *buf,
42+
uint32_t num_bytes)
4343
{
4444
struct i3c_msg msg;
4545

@@ -66,8 +66,8 @@ static inline int i3c_hdr_ddr_write(struct i3c_device_desc *target, uint8_t cmd,
6666
* @retval -EBUSY Bus is busy.
6767
* @retval -EIO General input / output error.
6868
*/
69-
static inline int i3c_hdr_ddr_read(struct i3c_device_desc *target, uint8_t cmd,
70-
uint8_t *buf, uint32_t num_bytes)
69+
static inline int i3c_hdr_ddr_read(struct i3c_device_desc *target, uint8_t cmd, uint8_t *buf,
70+
uint32_t num_bytes)
7171
{
7272
struct i3c_msg msg;
7373

@@ -99,9 +99,9 @@ static inline int i3c_hdr_ddr_read(struct i3c_device_desc *target, uint8_t cmd,
9999
* @retval -EBUSY Bus is busy.
100100
* @retval -EIO General input / output error.
101101
*/
102-
static inline int i3c_hdr_ddr_write_read(struct i3c_device_desc *target,
103-
const void *write_buf, size_t num_write, uint8_t read_cmd,
104-
void *read_buf, size_t num_read, uint8_t write_cmd)
102+
static inline int i3c_hdr_ddr_write_read(struct i3c_device_desc *target, const void *write_buf,
103+
size_t num_write, uint8_t read_cmd, void *read_buf,
104+
size_t num_read, uint8_t write_cmd)
105105
{
106106
struct i3c_msg msg[2];
107107

0 commit comments

Comments
 (0)