aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-06-29 06:43:48 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:56:07 -0400
commit033d7463f816315308ffec6f69576d820bfbab0c (patch)
tree1f31fa5e319133056c7942745e6d8d0ae60100d0 /drivers/media
parent7254026cedd42d75009f8a7f2999045007dd444e (diff)
[media] V4L: soc-camera: remove now unused soc-camera specific PM hooks
soc-camera host drivers shall be implementing their PM, using standard kernel methods, soc-camera specific hooks can die. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/soc_camera.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c
index 136326e8c4b..5084e72d496 100644
--- a/drivers/media/video/soc_camera.c
+++ b/drivers/media/video/soc_camera.c
@@ -1209,36 +1209,10 @@ static int soc_camera_remove(struct device *dev)
1209 return 0; 1209 return 0;
1210} 1210}
1211 1211
1212static int soc_camera_suspend(struct device *dev, pm_message_t state)
1213{
1214 struct soc_camera_device *icd = to_soc_camera_dev(dev);
1215 struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent);
1216 int ret = 0;
1217
1218 if (ici->ops->suspend)
1219 ret = ici->ops->suspend(icd, state);
1220
1221 return ret;
1222}
1223
1224static int soc_camera_resume(struct device *dev)
1225{
1226 struct soc_camera_device *icd = to_soc_camera_dev(dev);
1227 struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent);
1228 int ret = 0;
1229
1230 if (ici->ops->resume)
1231 ret = ici->ops->resume(icd);
1232
1233 return ret;
1234}
1235
1236struct bus_type soc_camera_bus_type = { 1212struct bus_type soc_camera_bus_type = {
1237 .name = "soc-camera", 1213 .name = "soc-camera",
1238 .probe = soc_camera_probe, 1214 .probe = soc_camera_probe,
1239 .remove = soc_camera_remove, 1215 .remove = soc_camera_remove,
1240 .suspend = soc_camera_suspend,
1241 .resume = soc_camera_resume,
1242}; 1216};
1243EXPORT_SYMBOL_GPL(soc_camera_bus_type); 1217EXPORT_SYMBOL_GPL(soc_camera_bus_type);
1244 1218