Skip to content

Commit

Permalink
drm/omap: remove dummy PM functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Mar 24, 2015
1 parent e7e24df commit f5a1d31
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions drivers/gpu/drm/omapdrm/omap_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,23 +675,6 @@ static struct drm_driver omap_drm_driver = {
.patchlevel = DRIVER_PATCHLEVEL,
};

static int pdev_suspend(struct platform_device *pDevice, pm_message_t state)
{
DBG("");
return 0;
}

static int pdev_resume(struct platform_device *device)
{
DBG("");
return 0;
}

static void pdev_shutdown(struct platform_device *device)
{
DBG("");
}

static int pdev_probe(struct platform_device *device)
{
int r;
Expand Down Expand Up @@ -738,9 +721,6 @@ static struct platform_driver pdev = {
},
.probe = pdev_probe,
.remove = pdev_remove,
.suspend = pdev_suspend,
.resume = pdev_resume,
.shutdown = pdev_shutdown,
};

static int __init omap_drm_init(void)
Expand Down

0 comments on commit f5a1d31

Please sign in to comment.