Skip to content

Commit 9277b5f

Browse files
Andi ShytiAndi Shyti
authored andcommitted
i2c: iproc: Fix alignment to match the open parenthesis
Alignment should match the open parenthesis but in some places it didn't Link: https://lore.kernel.org/r/20250418211635.2666234-5-andi.shyti@kernel.org Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent f7a2df3 commit 9277b5f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

drivers/i2c/busses/i2c-bcm-iproc.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ static int bcm_iproc_i2c_xfer_wait(struct bcm_iproc_i2c_dev *iproc_i2c,
833833
* The i2c quirks are set to enforce this rule.
834834
*/
835835
static int bcm_iproc_i2c_xfer_internal(struct bcm_iproc_i2c_dev *iproc_i2c,
836-
struct i2c_msg *msgs, bool process_call)
836+
struct i2c_msg *msgs, bool process_call)
837837
{
838838
int i;
839839
u8 addr;
@@ -1010,7 +1010,7 @@ static int bcm_iproc_i2c_cfg_speed(struct bcm_iproc_i2c_dev *iproc_i2c)
10101010
"clock-frequency", &bus_speed);
10111011
if (ret < 0) {
10121012
dev_info(iproc_i2c->device,
1013-
"unable to interpret clock-frequency DT property\n");
1013+
"unable to interpret clock-frequency DT property\n");
10141014
bus_speed = I2C_MAX_STANDARD_MODE_FREQ;
10151015
}
10161016

@@ -1099,9 +1099,8 @@ static int bcm_iproc_i2c_probe(struct platform_device *pdev)
10991099

11001100
adap = &iproc_i2c->adapter;
11011101
i2c_set_adapdata(adap, iproc_i2c);
1102-
snprintf(adap->name, sizeof(adap->name),
1103-
"Broadcom iProc (%s)",
1104-
of_node_full_name(iproc_i2c->device->of_node));
1102+
snprintf(adap->name, sizeof(adap->name), "Broadcom iProc (%s)",
1103+
of_node_full_name(iproc_i2c->device->of_node));
11051104
adap->algo = &bcm_iproc_algo;
11061105
adap->quirks = &bcm_iproc_i2c_quirks;
11071106
adap->dev.parent = &pdev->dev;

0 commit comments

Comments
 (0)