[media] tvp5150: Restructure version detection
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 7 Jan 2016 12:46:41 +0000 (10:46 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 12:39:16 +0000 (10:39 -0200)
commit7871597a73b7b8daa7beeba3c36d68f9047d38c2
tree049451c28d5ab0a66d38e11e8f4ec8729c2cf2c9
parent7d3ccfe697bceec9fdf7b901da4073cc55fa56de
[media] tvp5150: Restructure version detection

Move the version detection code to a separate function and restructure
it to prepare for TVP5151 support.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tvp5150.c