|
@@ -648,10 +648,8 @@ static int brcmstb_i2c_probe(struct platform_device *pdev)
|
|
|
adap->dev.parent = &pdev->dev;
|
|
|
adap->dev.of_node = pdev->dev.of_node;
|
|
|
rc = i2c_add_adapter(adap);
|
|
|
- if (rc) {
|
|
|
- dev_err(dev->device, "failed to add adapter\n");
|
|
|
+ if (rc)
|
|
|
goto probe_errorout;
|
|
|
- }
|
|
|
|
|
|
dev_info(dev->device, "%s@%dhz registered in %s mode\n",
|
|
|
int_name ? int_name : " ", dev->clk_freq_hz,
|