Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344543
b: refs/heads/master
c: bab8b56
h: refs/heads/master
i:
  344541: 6cee392
  344539: f750398
  344535: 1bac3e4
  344527: 1fbc264
  344511: 7b0ecc2
v: v3
  • Loading branch information
Jingoo Han committed Nov 26, 2012
1 parent df33415 commit 2a21169
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 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: 0b466568c980300a3ac69c4f40f8f3fd5ae14bae
refs/heads/master: bab8b563ef08455440badca7fe79b2c700bd1b75
14 changes: 5 additions & 9 deletions trunk/drivers/video/s3c-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1544,8 +1544,7 @@ static int __devexit s3c_fb_remove(struct platform_device *pdev)
#ifdef CONFIG_PM_SLEEP
static int s3c_fb_suspend(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct s3c_fb *sfb = platform_get_drvdata(pdev);
struct s3c_fb *sfb = dev_get_drvdata(dev);
struct s3c_fb_win *win;
int win_no;

Expand All @@ -1572,8 +1571,7 @@ static int s3c_fb_suspend(struct device *dev)

static int s3c_fb_resume(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct s3c_fb *sfb = platform_get_drvdata(pdev);
struct s3c_fb *sfb = dev_get_drvdata(dev);
struct s3c_fb_platdata *pd = sfb->pdata;
struct s3c_fb_win *win;
int win_no;
Expand Down Expand Up @@ -1623,7 +1621,7 @@ static int s3c_fb_resume(struct device *dev)
if (!win)
continue;

dev_dbg(&pdev->dev, "resuming window %d\n", win_no);
dev_dbg(dev, "resuming window %d\n", win_no);
s3c_fb_set_par(win->fbinfo);
}

Expand All @@ -1636,8 +1634,7 @@ static int s3c_fb_resume(struct device *dev)
#ifdef CONFIG_PM_RUNTIME
static int s3c_fb_runtime_suspend(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct s3c_fb *sfb = platform_get_drvdata(pdev);
struct s3c_fb *sfb = dev_get_drvdata(dev);

if (!sfb->variant.has_clksel)
clk_disable_unprepare(sfb->lcd_clk);
Expand All @@ -1649,8 +1646,7 @@ static int s3c_fb_runtime_suspend(struct device *dev)

static int s3c_fb_runtime_resume(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct s3c_fb *sfb = platform_get_drvdata(pdev);
struct s3c_fb *sfb = dev_get_drvdata(dev);
struct s3c_fb_platdata *pd = sfb->pdata;

clk_prepare_enable(sfb->bus_clk);
Expand Down

0 comments on commit 2a21169

Please sign in to comment.