Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344697
b: refs/heads/master
c: 8105c94
h: refs/heads/master
i:
  344695: da95672
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 12, 2012
1 parent d31ea01 commit 4af9ffe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 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: 5aaee69d7fe02d1ffb76b6a31a588efa5f2742e3
refs/heads/master: 8105c94bc4f94478c67afb7593724e4d684dd9c0
14 changes: 0 additions & 14 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ static struct {
int ctx_loss_cnt;

int irq;
struct clk *dss_clk;

u32 fifo_size[DISPC_MAX_NR_FIFOS];
/* maps which plane is using a fifo. fifo-id -> plane-id */
Expand Down Expand Up @@ -3619,7 +3618,6 @@ static int __init omap_dispchw_probe(struct platform_device *pdev)
u32 rev;
int r = 0;
struct resource *dispc_mem;
struct clk *clk;

dispc.pdev = pdev;

Expand All @@ -3646,15 +3644,6 @@ static int __init omap_dispchw_probe(struct platform_device *pdev)
return -ENODEV;
}

clk = clk_get(&pdev->dev, "fck");
if (IS_ERR(clk)) {
DSSERR("can't get fck\n");
r = PTR_ERR(clk);
return r;
}

dispc.dss_clk = clk;

pm_runtime_enable(&pdev->dev);

r = dispc_runtime_get();
Expand All @@ -3675,16 +3664,13 @@ static int __init omap_dispchw_probe(struct platform_device *pdev)

err_runtime_get:
pm_runtime_disable(&pdev->dev);
clk_put(dispc.dss_clk);
return r;
}

static int __exit omap_dispchw_remove(struct platform_device *pdev)
{
pm_runtime_disable(&pdev->dev);

clk_put(dispc.dss_clk);

return 0;
}

Expand Down

0 comments on commit 4af9ffe

Please sign in to comment.