media: vimc: move the dev field of each entity to vimc_ent_dev
commitb1f8e9316e790bcde517c5312eaaea4f696e0f75
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Wed, 9 Oct 2019 15:53:14 +0000 (9 12:53 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 24 Oct 2019 22:04:00 +0000 (24 19:04 -0300)
treec0fc938f62649a707108dfa4ae348effd7723924
parent23df45d038662da2b1e017cf38165a88dfd7f543
media: vimc: move the dev field of each entity to vimc_ent_dev

Since the 'struct device *dev' field exists in each of the
entity structs, it can be moved to the common struct vimc_ent_devevice.
It is then used to replace 'pr_err' with 'dev_err' in the streamer
code.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vimc/vimc-capture.c
drivers/media/platform/vimc/vimc-common.h
drivers/media/platform/vimc/vimc-debayer.c
drivers/media/platform/vimc/vimc-scaler.c
drivers/media/platform/vimc/vimc-sensor.c
drivers/media/platform/vimc/vimc-streamer.c