Commit a36d4637 authored by Peter Rosin's avatar Peter Rosin

i2c: mux: reg: rename label to indicate what it does

That maintains sanity if it is ever called from some other spot, and
also makes the label names coherent.
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
parent 68118e0e
...@@ -228,7 +228,7 @@ static int i2c_mux_reg_probe(struct platform_device *pdev) ...@@ -228,7 +228,7 @@ static int i2c_mux_reg_probe(struct platform_device *pdev)
ret = i2c_mux_add_adapter(muxc, nr, mux->data.values[i], class); ret = i2c_mux_add_adapter(muxc, nr, mux->data.values[i], class);
if (ret) if (ret)
goto add_adapter_failed; goto err_del_mux_adapters;
} }
dev_dbg(&pdev->dev, "%d port mux on %s adapter\n", dev_dbg(&pdev->dev, "%d port mux on %s adapter\n",
...@@ -236,7 +236,7 @@ static int i2c_mux_reg_probe(struct platform_device *pdev) ...@@ -236,7 +236,7 @@ static int i2c_mux_reg_probe(struct platform_device *pdev)
return 0; return 0;
add_adapter_failed: err_del_mux_adapters:
i2c_mux_del_adapters(muxc); i2c_mux_del_adapters(muxc);
err_put_parent: err_put_parent:
i2c_put_adapter(parent); i2c_put_adapter(parent);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment