[media] vimc: common: Add vimc_ent_sd_* helper
authorHelen Fornazier <helen.koike@collabora.com>
Mon, 19 Jun 2017 17:00:12 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Jun 2017 12:02:53 +0000 (09:02 -0300)
commitc149543ef46e3dcc80280a4cc9fbcd05294d3c58
treec59a9a9564836fd1f1e4adcdc148a9aa3f5edc60
parent5ba0ae43dfdea82bd8f45883e604dcd43454cf24
[media] vimc: common: Add vimc_ent_sd_* helper

As all the subdevices in the topology will be initialized in the same
way, to avoid code repetition the vimc_ent_sd_{register, unregister}
helper functions were created

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vimc/vimc-common.c
drivers/media/platform/vimc/vimc-common.h
drivers/media/platform/vimc/vimc-sensor.c