]> git.baikalelectronics.ru Git - kernel.git/commit
[media] i2c: vs6624: use module_i2c_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 8 Oct 2012 13:13:09 +0000 (10:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Oct 2012 19:08:17 +0000 (17:08 -0200)
commitc6415eb7b72f0f835a0ffb53d9122abdb1e2d7ba
tree93ef8dc60693e075bb11da94c0434590e30bfac6
parentbfe74dcfb1a75ec84f9b3327cfc3a20574210c04
[media] i2c: vs6624: 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/vs6624.c