]> git.baikalelectronics.ru Git - kernel.git/commit
mpc85xx_edac: convert sysfs logic to use struct device
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Mar 2012 18:16:20 +0000 (15:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 16:23:39 +0000 (13:23 -0300)
commit1eb3849e1cb2314b92e3aeb02c224d4ef500b0e1
treecae3c13d48cd0ddb95220c6adb4eb221db0be1c9
parentbc3baaa2ceefa85af7165dd63690678669906ba6
mpc85xx_edac: convert sysfs logic to use struct device

Now that the EDAC core supports struct device, there's no sense on
having any logic at the EDAC core to simulate it. So, instead of adding
such logic there, change the logic at mpc85xx_edac to use it

compile-tested only.

Reviewed-by: Aristeu Rozanski <arozansk@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/mpc85xx_edac.c