media: imx274: simplify imx274_write_table()
authorLuca Ceresoli <luca@lucaceresoli.net>
Mon, 11 Jun 2018 11:35:36 +0000 (07:35 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 4 Jul 2018 11:26:57 +0000 (07:26 -0400)
commit7ff67863c690fbe1e10c70cefbb718b36c155a32
treecc644fdb4bd11f1dc8f3a6f6b9e2794511b8d03e
parent0b4c9553b135a511f3c5c565ea2b48e801a5f81f
media: imx274: simplify imx274_write_table()

imx274_write_table() is a mere wrapper (and the only user) to
imx274_regmap_util_write_table_8(). Remove this useless indirection by
merging the two functions into one.

Also get rid of the wait_ms_addr and end_addr parameters since it does
not make any sense to give them any values other than
IMX274_TABLE_WAIT_MS and IMX274_TABLE_END.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/imx274.c