[media] i2c: adv7183: use module_i2c_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 8 Oct 2012 13:13:41 +0000 (10:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Oct 2012 19:08:46 +0000 (17:08 -0200)
commit01aea0bfd8dfa8bc868df33904461984bb10a87a
tree9612efd3811bb3bbd161386a15d036916464b49d
parent9ac1510407cbadb2ff6790c296617405fda27895
[media] i2c: adv7183: use module_i2c_driver to simplify the code

Use the module_i2c_driver() macro to make the code smaller
and a bit simpler.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/adv7183.c