]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
i2c: iproc: Fix alignment to match the open parenthesis
authorAndi Shyti <andi.shyti@kernel.org>
Fri, 18 Apr 2025 21:16:29 +0000 (23:16 +0200)
committerAndi Shyti <andi@smida.it>
Mon, 19 May 2025 20:23:56 +0000 (22:23 +0200)
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>
drivers/i2c/busses/i2c-bcm-iproc.c

index 3816ceb713d9119b3372d7bff0985a19700d906d..3e76120c23abd20f854aa16537e05431bd1568f9 100644 (file)
@@ -833,7 +833,7 @@ static int bcm_iproc_i2c_xfer_wait(struct bcm_iproc_i2c_dev *iproc_i2c,
  * The i2c quirks are set to enforce this rule.
  */
 static int bcm_iproc_i2c_xfer_internal(struct bcm_iproc_i2c_dev *iproc_i2c,
-                                       struct i2c_msg *msgs, bool process_call)
+                                      struct i2c_msg *msgs, bool process_call)
 {
        int i;
        u8 addr;
@@ -1010,7 +1010,7 @@ static int bcm_iproc_i2c_cfg_speed(struct bcm_iproc_i2c_dev *iproc_i2c)
                                       "clock-frequency", &bus_speed);
        if (ret < 0) {
                dev_info(iproc_i2c->device,
-                       "unable to interpret clock-frequency DT property\n");
+                        "unable to interpret clock-frequency DT property\n");
                bus_speed = I2C_MAX_STANDARD_MODE_FREQ;
        }
 
@@ -1099,9 +1099,8 @@ static int bcm_iproc_i2c_probe(struct platform_device *pdev)
 
        adap = &iproc_i2c->adapter;
        i2c_set_adapdata(adap, iproc_i2c);
-       snprintf(adap->name, sizeof(adap->name),
-               "Broadcom iProc (%s)",
-               of_node_full_name(iproc_i2c->device->of_node));
+       snprintf(adap->name, sizeof(adap->name), "Broadcom iProc (%s)",
+                of_node_full_name(iproc_i2c->device->of_node));
        adap->algo = &bcm_iproc_algo;
        adap->quirks = &bcm_iproc_i2c_quirks;
        adap->dev.parent = &pdev->dev;