Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294205
b: refs/heads/master
c: 327e276
h: refs/heads/master
i:
  294203: 1837a40
v: v3
  • Loading branch information
Jingoo Han authored and Florian Tobias Schandinat committed Feb 24, 2012
1 parent b6a6ea4 commit b8f8312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 640ba2444fa95261f23a2b86e69aabe723332bed
refs/heads/master: 327e27681c27d3ed5ea470ec483904d1a318cb7f
5 changes: 1 addition & 4 deletions trunk/drivers/video/s3c-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ static int __devinit s3c_fb_probe(struct platform_device *pdev)
goto err_lcd_clk;
}
sfb->irq_no = res->start;
ret = request_irq(sfb->irq_no, s3c_fb_irq,
ret = devm_request_irq(dev, sfb->irq_no, s3c_fb_irq,
0, "s3c_fb", sfb);
if (ret) {
dev_err(dev, "irq request failed\n");
Expand Down Expand Up @@ -1499,7 +1499,6 @@ static int __devinit s3c_fb_probe(struct platform_device *pdev)

err_pm_runtime:
pm_runtime_put_sync(sfb->dev);
free_irq(sfb->irq_no, sfb);

err_lcd_clk:
pm_runtime_disable(sfb->dev);
Expand Down Expand Up @@ -1535,8 +1534,6 @@ static int __devexit s3c_fb_remove(struct platform_device *pdev)
if (sfb->windows[win])
s3c_fb_release_win(sfb, sfb->windows[win]);

free_irq(sfb->irq_no, sfb);

if (!sfb->variant.has_clksel) {
clk_disable(sfb->lcd_clk);
clk_put(sfb->lcd_clk);
Expand Down

0 comments on commit b8f8312

Please sign in to comment.