From: Takashi Iwai Date: Wed, 4 Feb 2015 10:48:52 +0000 (+0100) Subject: EDAC: Allow to pass driver-specific attribute groups X-Git-Tag: omap-for-v4.1/fixes-rc1~179^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e8d230de9c1dff8e587ae769e46fcddb3d98f1c;p=pandora-kernel.git EDAC: Allow to pass driver-specific attribute groups Add edac_mc_add_mc_with_groups() for initializing the mem_ctl_info object with the optional attribute groups. This allows drivers to pass additional sysfs entries without manual (and racy) device_create_file() and co calls. edac_mc_add_mc() is kept as is, just calling edac_mc_add_with_groups() with NULL groups. Signed-off-by: Takashi Iwai Link: http://lkml.kernel.org/r/1423046938-18111-3-git-send-email-tiwai@suse.de Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed