media: video-i2c: use i2c regmap
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 20 Oct 2018 14:26:24 +0000 (10:26 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 09:33:48 +0000 (04:33 -0500)
commitae9e196dad3b5c9b23b2ac2b21e91f548cd60d3b
tree437aaad680d9bf9164d0737989578b4aa524b921
parentc764da98a600a4b068d25c77164f092f159cecec
media: video-i2c: use i2c regmap

Use regmap for i2c register access.  This simplifies register accesses and
chooses suitable access commands based on the functionality that the
adapter supports.

Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/video-i2c.c