Skip to content

Commit 5b5669b

Browse files
riastradhriastradh
authored andcommitted
sys/dev/i2c/i2c.c: KNF
No functional change intended.
1 parent f7a6843 commit 5b5669b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

sys/dev/i2c/i2c.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: i2c.c,v 1.91 2025/01/23 19:05:51 brad Exp $ */
1+
/* $NetBSD: i2c.c,v 1.92 2025/01/27 17:01:53 riastradh Exp $ */
22

33
/*
44
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -53,7 +53,7 @@
5353
#endif /* _KERNEL_OPT */
5454

5555
#include <sys/cdefs.h>
56-
__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.91 2025/01/23 19:05:51 brad Exp $");
56+
__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.92 2025/01/27 17:01:53 riastradh Exp $");
5757

5858
#include <sys/param.h>
5959
#include <sys/systm.h>
@@ -182,11 +182,11 @@ iic_is_special_address(i2c_addr_t addr)
182182
/* 10-bit Slave Addressing prefix */
183183
if ((addr & 0x7c) == 0x78)
184184
return (true);
185-
185+
186186
/* Reserved for future purposes */
187187
if ((addr & 0x7c) == 0x7c)
188188
return (true);
189-
189+
190190
return (false);
191191
}
192192

@@ -685,7 +685,7 @@ iic_ioctl_exec(struct iic_softc *sc, i2c_ioctl_exec_t *iie, int flag)
685685
i2c_tag_t ic = sc->sc_tag;
686686
uint8_t *buf = NULL;
687687
void *cmd = NULL;
688-
int error=0;
688+
int error = 0;
689689

690690
/* Validate parameters */
691691
if (iie->iie_addr > I2C_MAX_ADDR)

0 commit comments

Comments
 (0)