From: Dave Jiang Date: Thu, 19 Jul 2007 08:49:47 +0000 (-0700) Subject: drivers/edac: add dev_name getter function X-Git-Tag: v2.6.23-rc1~317 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4192705fec85219086231a1c0fa61e8776e2c3b;p=pandora-kernel.git drivers/edac: add dev_name getter function Move dev_name() macro to a more generic interface since it's not possible to determine whether a device is pci, platform, or of_device easily. Now each low level driver sets the name into the control structure, and the EDAC core references the control structure for the information. Better abstraction. Signed-off-by: Dave Jiang Signed-off-by: Douglas Thompson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed