i7core_edac: convert it to use struct device
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Mar 2012 14:08:06 +0000 (11:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 16:23:41 +0000 (13:23 -0300)
commit5c4cdb5ae72988ef93f72ad6f46be0e4eea5be8d
tree209b4462654701012593482c7b10bdccdf6ef08b
parentc56087595fb6531f359925b581529f1b2aef10f1
i7core_edac: convert it to use struct device

Instead of relying on a complex logic inside the edac core to create
a "device tree-like" sysfs struct, just use device_add.

Reviewed-by: Aristeu Rozanski <arozansk@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c