Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357164
b: refs/heads/master
c: 899a179
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Dec 26, 2012
1 parent 53e78a8 commit 2316299
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 341068fcf8cc10145d38abe927fa9b9f0c461c66
refs/heads/master: 899a179dbf5878fd01c0bd3b0e884ec526916afb
6 changes: 1 addition & 5 deletions trunk/drivers/media/platform/s5p-tv/sii9234_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static int __devinit sii9234_probe(struct i2c_client *client,
}

ctx->gpio_n_reset = pdata->gpio_n_reset;
ret = gpio_request(ctx->gpio_n_reset, "MHL_RST");
ret = devm_gpio_request(dev, ctx->gpio_n_reset, "MHL_RST");
if (ret) {
dev_err(dev, "failed to acquire MHL_RST gpio\n");
return ret;
Expand Down Expand Up @@ -370,7 +370,6 @@ static int __devinit sii9234_probe(struct i2c_client *client,

fail_pm:
pm_runtime_disable(dev);
gpio_free(ctx->gpio_n_reset);

fail:
dev_err(dev, "probe failed\n");
Expand All @@ -381,11 +380,8 @@ static int __devinit sii9234_probe(struct i2c_client *client,
static int __devexit sii9234_remove(struct i2c_client *client)
{
struct device *dev = &client->dev;
struct v4l2_subdev *sd = i2c_get_clientdata(client);
struct sii9234_context *ctx = sd_to_context(sd);

pm_runtime_disable(dev);
gpio_free(ctx->gpio_n_reset);

dev_info(dev, "remove successful\n");

Expand Down

0 comments on commit 2316299

Please sign in to comment.