Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358788
b: refs/heads/master
c: dc6fea4
h: refs/heads/master
v: v3
  • Loading branch information
Tushar Behera authored and Wolfram Sang committed Jan 28, 2013
1 parent 34be7e1 commit f5873a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d16933b33914a6dff38a4ecbe8edce44a17898e8
refs/heads/master: dc6fea4456aeadd3452638668101f269fbb9fd0d
7 changes: 2 additions & 5 deletions trunk/drivers/i2c/busses/i2c-s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,8 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
ret = i2c_add_numbered_adapter(&i2c->adap);
if (ret < 0) {
dev_err(&pdev->dev, "failed to add bus to i2c core\n");
goto err_cpufreq;
s3c24xx_i2c_deregister_cpufreq(i2c);
return ret;
}

of_i2c_register_devices(&i2c->adap);
Expand All @@ -1120,10 +1121,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)

dev_info(&pdev->dev, "%s: S3C I2C adapter\n", dev_name(&i2c->adap.dev));
return 0;

err_cpufreq:
s3c24xx_i2c_deregister_cpufreq(i2c);
return ret;
}

/* s3c24xx_i2c_remove
Expand Down

0 comments on commit f5873a1

Please sign in to comment.