]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/83xx: use module_i2c_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 8 Oct 2012 12:39:52 +0000 (20:39 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 25 Jun 2013 21:34:11 +0000 (16:34 -0500)
commite5a63f699b1148c210bbed270e4d1f1d528b6ca3
tree0b35601f2218e762394f522969b79ceb06d636c9
parentfef2a803c486228d816de3e7d41c32e38511e981
powerpc/83xx: 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>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c