[media] v4l: of: Use of_get_child_by_name()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 3 Jul 2013 02:04:25 +0000 (23:04 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 18 Aug 2013 11:48:12 +0000 (08:48 -0300)
commit91f9241fd3487cd959abcf8c210af620ebfeb2cd
tree58258bc665ad7a56da9c1706c2513b04b9c227cb
parent8023ed09cb278004a28f49844602adf23bd3615e
[media] v4l: of: Use of_get_child_by_name()

Replace a manual loop through child nodes with a call to
of_get_child_by_name().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-of.c