[media] media: i2c: ov2659: Use v4l2_of_alloc_parse_endpoint()
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Wed, 15 Apr 2015 21:14:17 +0000 (18:14 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 12 May 2015 07:03:23 +0000 (04:03 -0300)
commitb3ab190f1c731e76da357f6640ceebacfdaccae1
tree202695f0ba1b0b08bcd9b0b8ed5b16255046e724
parent7f099a7558e4d308ddb19b3c1737944c371b8f48
[media] media: i2c: ov2659: Use v4l2_of_alloc_parse_endpoint()

Instead of parsing the link-frequencies property in the driver, let
v4l2_of_alloc_parse_endpoint() do it.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/ov2659.c