diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-11-14 08:18:27 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-03-24 07:50:56 -0400 |
commit | f5a1d3174f9e1d2d55bfd06626586963283e58be (patch) | |
tree | 30cbaeb55e0533415d82f2e2bfdd409db1af179f /drivers/gpu/drm/omapdrm | |
parent | e7e24df4715906ad25041b0a4ca613186d4cf849 (diff) |
drm/omap: remove dummy PM functions
omapdrm has dummy functions for platform_device's
suspend/resume/shutdown. The functions don't do anything, and those
platform device functions are deprecated, so remove them from omapdrm.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 63c953971c11..8d8cf82ecdf7 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c | |||
@@ -675,23 +675,6 @@ static struct drm_driver omap_drm_driver = { | |||
675 | .patchlevel = DRIVER_PATCHLEVEL, | 675 | .patchlevel = DRIVER_PATCHLEVEL, |
676 | }; | 676 | }; |
677 | 677 | ||
678 | static int pdev_suspend(struct platform_device *pDevice, pm_message_t state) | ||
679 | { | ||
680 | DBG(""); | ||
681 | return 0; | ||
682 | } | ||
683 | |||
684 | static int pdev_resume(struct platform_device *device) | ||
685 | { | ||
686 | DBG(""); | ||
687 | return 0; | ||
688 | } | ||
689 | |||
690 | static void pdev_shutdown(struct platform_device *device) | ||
691 | { | ||
692 | DBG(""); | ||
693 | } | ||
694 | |||
695 | static int pdev_probe(struct platform_device *device) | 678 | static int pdev_probe(struct platform_device *device) |
696 | { | 679 | { |
697 | int r; | 680 | int r; |
@@ -738,9 +721,6 @@ static struct platform_driver pdev = { | |||
738 | }, | 721 | }, |
739 | .probe = pdev_probe, | 722 | .probe = pdev_probe, |
740 | .remove = pdev_remove, | 723 | .remove = pdev_remove, |
741 | .suspend = pdev_suspend, | ||
742 | .resume = pdev_resume, | ||
743 | .shutdown = pdev_shutdown, | ||
744 | }; | 724 | }; |
745 | 725 | ||
746 | static int __init omap_drm_init(void) | 726 | static int __init omap_drm_init(void) |