diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-05-08 15:40:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-06-01 00:21:22 -0400 |
commit | 66e9df07d362b63a594e8663260e0430ba4a17bf (patch) | |
tree | 9fc7b7f9366777b0cb452b869d832424fb3145ed /drivers/media | |
parent | 60298c99f792bb2fe12137360d448c72234b2d0b (diff) |
V4L/DVB: saa717x: remove obsolete s_fmt op
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/saa717x.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/video/saa717x.c b/drivers/media/video/saa717x.c index 422a3e222afa..78d69950c00a 100644 --- a/drivers/media/video/saa717x.c +++ b/drivers/media/video/saa717x.c | |||
@@ -1261,16 +1261,6 @@ static int saa717x_s_mbus_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt | |||
1261 | return 0; | 1261 | return 0; |
1262 | } | 1262 | } |
1263 | 1263 | ||
1264 | static int saa717x_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | ||
1265 | { | ||
1266 | struct v4l2_mbus_framefmt mbus_fmt; | ||
1267 | |||
1268 | mbus_fmt.width = fmt->fmt.pix.width; | ||
1269 | mbus_fmt.height = fmt->fmt.pix.height; | ||
1270 | mbus_fmt.code = V4L2_MBUS_FMT_FIXED; | ||
1271 | return saa717x_s_mbus_fmt(sd, &mbus_fmt); | ||
1272 | } | ||
1273 | |||
1274 | static int saa717x_s_radio(struct v4l2_subdev *sd) | 1264 | static int saa717x_s_radio(struct v4l2_subdev *sd) |
1275 | { | 1265 | { |
1276 | struct saa717x_state *decoder = to_state(sd); | 1266 | struct saa717x_state *decoder = to_state(sd); |
@@ -1417,7 +1407,6 @@ static const struct v4l2_subdev_tuner_ops saa717x_tuner_ops = { | |||
1417 | 1407 | ||
1418 | static const struct v4l2_subdev_video_ops saa717x_video_ops = { | 1408 | static const struct v4l2_subdev_video_ops saa717x_video_ops = { |
1419 | .s_routing = saa717x_s_video_routing, | 1409 | .s_routing = saa717x_s_video_routing, |
1420 | .s_fmt = saa717x_s_fmt, | ||
1421 | .s_mbus_fmt = saa717x_s_mbus_fmt, | 1410 | .s_mbus_fmt = saa717x_s_mbus_fmt, |
1422 | .s_stream = saa717x_s_stream, | 1411 | .s_stream = saa717x_s_stream, |
1423 | }; | 1412 | }; |