diff options
| -rw-r--r-- | drivers/media/i2c/adv7604.c | 10 | ||||
| -rw-r--r-- | drivers/media/i2c/adv7842.c | 10 | ||||
| -rw-r--r-- | drivers/media/i2c/ths8200.c | 10 |
3 files changed, 0 insertions, 30 deletions
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index e43dd2e2a38a..0c81926a508d 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c | |||
| @@ -333,21 +333,11 @@ static inline struct adv7604_state *to_state(struct v4l2_subdev *sd) | |||
| 333 | return container_of(sd, struct adv7604_state, sd); | 333 | return container_of(sd, struct adv7604_state, sd); |
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | static inline unsigned hblanking(const struct v4l2_bt_timings *t) | ||
| 337 | { | ||
| 338 | return V4L2_DV_BT_BLANKING_WIDTH(t); | ||
| 339 | } | ||
| 340 | |||
| 341 | static inline unsigned htotal(const struct v4l2_bt_timings *t) | 336 | static inline unsigned htotal(const struct v4l2_bt_timings *t) |
| 342 | { | 337 | { |
| 343 | return V4L2_DV_BT_FRAME_WIDTH(t); | 338 | return V4L2_DV_BT_FRAME_WIDTH(t); |
| 344 | } | 339 | } |
| 345 | 340 | ||
| 346 | static inline unsigned vblanking(const struct v4l2_bt_timings *t) | ||
| 347 | { | ||
| 348 | return V4L2_DV_BT_BLANKING_HEIGHT(t); | ||
| 349 | } | ||
| 350 | |||
| 351 | static inline unsigned vtotal(const struct v4l2_bt_timings *t) | 341 | static inline unsigned vtotal(const struct v4l2_bt_timings *t) |
| 352 | { | 342 | { |
| 353 | return V4L2_DV_BT_FRAME_HEIGHT(t); | 343 | return V4L2_DV_BT_FRAME_HEIGHT(t); |
diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 75d26dfd0939..6bc872d43717 100644 --- a/drivers/media/i2c/adv7842.c +++ b/drivers/media/i2c/adv7842.c | |||
| @@ -220,21 +220,11 @@ static inline struct v4l2_subdev *to_sd(struct v4l2_ctrl *ctrl) | |||
| 220 | return &container_of(ctrl->handler, struct adv7842_state, hdl)->sd; | 220 | return &container_of(ctrl->handler, struct adv7842_state, hdl)->sd; |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | static inline unsigned hblanking(const struct v4l2_bt_timings *t) | ||
| 224 | { | ||
| 225 | return V4L2_DV_BT_BLANKING_WIDTH(t); | ||
| 226 | } | ||
| 227 | |||
| 228 | static inline unsigned htotal(const struct v4l2_bt_timings *t) | 223 | static inline unsigned htotal(const struct v4l2_bt_timings *t) |
| 229 | { | 224 | { |
| 230 | return V4L2_DV_BT_FRAME_WIDTH(t); | 225 | return V4L2_DV_BT_FRAME_WIDTH(t); |
| 231 | } | 226 | } |
| 232 | 227 | ||
| 233 | static inline unsigned vblanking(const struct v4l2_bt_timings *t) | ||
| 234 | { | ||
| 235 | return V4L2_DV_BT_BLANKING_HEIGHT(t); | ||
| 236 | } | ||
| 237 | |||
| 238 | static inline unsigned vtotal(const struct v4l2_bt_timings *t) | 228 | static inline unsigned vtotal(const struct v4l2_bt_timings *t) |
| 239 | { | 229 | { |
| 240 | return V4L2_DV_BT_FRAME_HEIGHT(t); | 230 | return V4L2_DV_BT_FRAME_HEIGHT(t); |
diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c index 656d889c1c79..4ebd329d7b42 100644 --- a/drivers/media/i2c/ths8200.c +++ b/drivers/media/i2c/ths8200.c | |||
| @@ -58,21 +58,11 @@ static inline struct ths8200_state *to_state(struct v4l2_subdev *sd) | |||
| 58 | return container_of(sd, struct ths8200_state, sd); | 58 | return container_of(sd, struct ths8200_state, sd); |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | static inline unsigned hblanking(const struct v4l2_bt_timings *t) | ||
| 62 | { | ||
| 63 | return V4L2_DV_BT_BLANKING_WIDTH(t); | ||
| 64 | } | ||
| 65 | |||
| 66 | static inline unsigned htotal(const struct v4l2_bt_timings *t) | 61 | static inline unsigned htotal(const struct v4l2_bt_timings *t) |
| 67 | { | 62 | { |
| 68 | return V4L2_DV_BT_FRAME_WIDTH(t); | 63 | return V4L2_DV_BT_FRAME_WIDTH(t); |
| 69 | } | 64 | } |
| 70 | 65 | ||
| 71 | static inline unsigned vblanking(const struct v4l2_bt_timings *t) | ||
| 72 | { | ||
| 73 | return V4L2_DV_BT_BLANKING_HEIGHT(t); | ||
| 74 | } | ||
| 75 | |||
| 76 | static inline unsigned vtotal(const struct v4l2_bt_timings *t) | 66 | static inline unsigned vtotal(const struct v4l2_bt_timings *t) |
| 77 | { | 67 | { |
| 78 | return V4L2_DV_BT_FRAME_HEIGHT(t); | 68 | return V4L2_DV_BT_FRAME_HEIGHT(t); |
