From: Takashi Iwai Date: Wed, 4 Feb 2015 10:48:53 +0000 (+0100) Subject: EDAC: amd64: Use static attribute groups X-Git-Tag: omap-for-v4.1/fixes-rc1~179^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e339f1ec979a4ab14b497114e39b8ab70bd0215d;p=pandora-kernel.git EDAC: amd64: Use static attribute groups Instead of calling device_create_file() and device_remove_file() manually, pass the static attribute groups with the new edac_mc_add_mc_with_groups(). The conditional creation of inject sysfs files is done by a proper is_visible callback. Signed-off-by: Takashi Iwai Link: http://lkml.kernel.org/r/1423046938-18111-4-git-send-email-tiwai@suse.de Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed