diff mbox

[PATCH-V2,4/7] Davinci VPFE Capture:Return 0 from suspend/resume

Message ID 1268978653-32710-5-git-send-email-hvaibhav@ti.com (mailing list archive)
State RFC
Headers show

Commit Message

Vaibhav Hiremath March 19, 2010, 6:04 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c
index 2219460..3946a70 100644
--- a/drivers/media/video/davinci/vpfe_capture.c
+++ b/drivers/media/video/davinci/vpfe_capture.c
@@ -2022,18 +2022,14 @@  static int __devexit vpfe_remove(struct platform_device *pdev)
 	return 0;
 }

-static int
-vpfe_suspend(struct device *dev)
+static int vpfe_suspend(struct device *dev)
 {
-	/* add suspend code here later */
-	return -1;
+	return 0;
 }

-static int
-vpfe_resume(struct device *dev)
+static int vpfe_resume(struct device *dev)
 {
-	/* add resume code here later */
-	return -1;
+	return 0;
 }

 static const struct dev_pm_ops vpfe_dev_pm_ops = {