Re: [PATCH] cpc925_edac: Use module_platform_driver()

2014-07-03 Thread Borislav Petkov
On Mon, Jun 09, 2014 at 10:40:18PM +0800, Kefeng Wang wrote: > Move edac_op_state assignment operations to probe, then convert to > module_platform_drive() to eliminate boilerplate code, and use > cpc925_printk instead of printk. > > Signed-off-by: Kefeng Wang > --- > drivers/edac/cpc925_edac.c

Re: [PATCH] cpc925_edac: Use module_platform_driver()

2014-06-09 Thread Xie XiuQi
On 2014/6/9 22:40, Kefeng Wang wrote: > Move edac_op_state assignment operations to probe, then convert to > module_platform_drive() to eliminate boilerplate code, and use module_platform_driver() ;-) > cpc925_printk instead of printk. > > Signed-off-by: Kefeng Wang > --- > drivers/edac/cpc925

[PATCH] cpc925_edac: Use module_platform_driver()

2014-06-09 Thread Kefeng Wang
Move edac_op_state assignment operations to probe, then convert to module_platform_drive() to eliminate boilerplate code, and use cpc925_printk instead of printk. Signed-off-by: Kefeng Wang --- drivers/edac/cpc925_edac.c | 33 +++-- 1 files changed, 7 insertions(+),