Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b92b7dbc authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Wolfram Sang
Browse files

i2c: uniphier-f: rename jump label to follow coding style guideline



Documentation/CodingStyle recommends to use label names which say
what the goto does or why the goto exists.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent a837bad6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -528,7 +528,7 @@ static int uniphier_fi2c_probe(struct platform_device *pdev)
	if (!clk_rate) {
		dev_err(dev, "input clock rate should not be zero\n");
		ret = -EINVAL;
		goto err;
		goto disable_clk;
	}

	init_completion(&priv->comp);
@@ -547,11 +547,11 @@ static int uniphier_fi2c_probe(struct platform_device *pdev)
			       pdev->name, priv);
	if (ret) {
		dev_err(dev, "failed to request irq %d\n", irq);
		goto err;
		goto disable_clk;
	}

	ret = i2c_add_adapter(&priv->adap);
err:
disable_clk:
	if (ret)
		clk_disable_unprepare(priv->clk);