aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-10-06 03:04:10 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 05:55:42 -0400
commitd7148e3f731f6d59d080db7fdeb1b586ed431543 (patch)
treebf5ba5c705f08051fcd47f99c2fb08958a753cdc /drivers/media/video
parent67826235ee4c40b20ea0d8ddfbd32bb20e9bb457 (diff)
[media] V4L: sh_mobile_ceu_camera: use default .get_parm() and .set_parm() operations
No need to duplicate default .get_parm() and .set_parm() operations. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/sh_mobile_ceu_camera.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c
index b11e74949e4c..5c209afb0ac8 100644
--- a/drivers/media/video/sh_mobile_ceu_camera.c
+++ b/drivers/media/video/sh_mobile_ceu_camera.c
@@ -1789,22 +1789,6 @@ static void sh_mobile_ceu_init_videobuf(struct videobuf_queue *q,
1789 icd, NULL); 1789 icd, NULL);
1790} 1790}
1791 1791
1792static int sh_mobile_ceu_get_parm(struct soc_camera_device *icd,
1793 struct v4l2_streamparm *parm)
1794{
1795 struct v4l2_subdev *sd = soc_camera_to_subdev(icd);
1796
1797 return v4l2_subdev_call(sd, video, g_parm, parm);
1798}
1799
1800static int sh_mobile_ceu_set_parm(struct soc_camera_device *icd,
1801 struct v4l2_streamparm *parm)
1802{
1803 struct v4l2_subdev *sd = soc_camera_to_subdev(icd);
1804
1805 return v4l2_subdev_call(sd, video, s_parm, parm);
1806}
1807
1808static int sh_mobile_ceu_get_ctrl(struct soc_camera_device *icd, 1792static int sh_mobile_ceu_get_ctrl(struct soc_camera_device *icd,
1809 struct v4l2_control *ctrl) 1793 struct v4l2_control *ctrl)
1810{ 1794{
@@ -1866,8 +1850,6 @@ static struct soc_camera_host_ops sh_mobile_ceu_host_ops = {
1866 .try_fmt = sh_mobile_ceu_try_fmt, 1850 .try_fmt = sh_mobile_ceu_try_fmt,
1867 .set_ctrl = sh_mobile_ceu_set_ctrl, 1851 .set_ctrl = sh_mobile_ceu_set_ctrl,
1868 .get_ctrl = sh_mobile_ceu_get_ctrl, 1852 .get_ctrl = sh_mobile_ceu_get_ctrl,
1869 .set_parm = sh_mobile_ceu_set_parm,
1870 .get_parm = sh_mobile_ceu_get_parm,
1871 .reqbufs = sh_mobile_ceu_reqbufs, 1853 .reqbufs = sh_mobile_ceu_reqbufs,
1872 .poll = sh_mobile_ceu_poll, 1854 .poll = sh_mobile_ceu_poll,
1873 .querycap = sh_mobile_ceu_querycap, 1855 .querycap = sh_mobile_ceu_querycap,