]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: of: Instead of zeroing bus_type and bus field separately, unify this
authorSakari Ailus <sakari.ailus@iki.fi>
Sun, 22 Mar 2015 20:42:31 +0000 (17:42 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 27 Apr 2015 18:43:52 +0000 (15:43 -0300)
commit3cc0ddea14739b451d55b4a1d46328bd3f13ea93
tree088644cb9a61faa0648f3591442d500be4aad606
parent071a8b7b2c842ed3da48bd0e3472ed4bc91a17f1
[media] v4l: of: Instead of zeroing bus_type and bus field separately, unify this

Zero the entire struct starting from bus_type. As more fields are added, no
changes will be needed in the function to reset their value explicitly.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-of.c
include/media/v4l2-of.h