diff options
-rw-r--r-- | drivers/video/bfin-t350mcqb-fb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/bfin-t350mcqb-fb.c b/drivers/video/bfin-t350mcqb-fb.c index 90cfddabf1f7..2a2e116b7fb1 100644 --- a/drivers/video/bfin-t350mcqb-fb.c +++ b/drivers/video/bfin-t350mcqb-fb.c | |||
@@ -637,9 +637,6 @@ static int bfin_t350mcqb_remove(struct platform_device *pdev) | |||
637 | #ifdef CONFIG_PM | 637 | #ifdef CONFIG_PM |
638 | static int bfin_t350mcqb_suspend(struct platform_device *pdev, pm_message_t state) | 638 | static int bfin_t350mcqb_suspend(struct platform_device *pdev, pm_message_t state) |
639 | { | 639 | { |
640 | struct fb_info *fbinfo = platform_get_drvdata(pdev); | ||
641 | struct bfin_t350mcqbfb_info *info = fbinfo->par; | ||
642 | |||
643 | bfin_t350mcqb_disable_ppi(); | 640 | bfin_t350mcqb_disable_ppi(); |
644 | disable_dma(CH_PPI); | 641 | disable_dma(CH_PPI); |
645 | bfin_write_PPI_STATUS(0xFFFF); | 642 | bfin_write_PPI_STATUS(0xFFFF); |
@@ -649,9 +646,6 @@ static int bfin_t350mcqb_suspend(struct platform_device *pdev, pm_message_t stat | |||
649 | 646 | ||
650 | static int bfin_t350mcqb_resume(struct platform_device *pdev) | 647 | static int bfin_t350mcqb_resume(struct platform_device *pdev) |
651 | { | 648 | { |
652 | struct fb_info *fbinfo = platform_get_drvdata(pdev); | ||
653 | struct bfin_t350mcqbfb_info *info = fbinfo->par; | ||
654 | |||
655 | enable_dma(CH_PPI); | 649 | enable_dma(CH_PPI); |
656 | bfin_t350mcqb_enable_ppi(); | 650 | bfin_t350mcqb_enable_ppi(); |
657 | 651 | ||