[media] tvp5150: Replace container_of() with to_tvp5150()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 16 May 2014 01:53:31 +0000 (22:53 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 22:51:26 +0000 (19:51 -0300)
commit12bd10c79bd8f65698660e992b8656e9a48eeca1
tree5e290a38590fffaa439d957a6a66cc0e7e8b21c7
parent0520e4cc3bb9ddc6eb7cc45d01191deee035b22a
[media] tvp5150: Replace container_of() with to_tvp5150()

Use the driver-specific inline function to cast from a subdev pointer to
a tvp5150 pointer instead of the generic container_of().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/tvp5150.c