]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34ce699119c1f932bf3d3c607663245db1a4d5d4
tree209b4462654701012593482c7b10bdccdf6ef08b
parente863e2ddaad611b85508e4698d5d54c21a33372c
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