summaryrefslogtreecommitdiff
path: root/drivers/edac/amd64_edac_inj.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-04 13:48:52 +0300
committerBorislav Petkov <bp@suse.de>2015-02-23 15:07:41 +0300
commit4e8d230de9c1dff8e587ae769e46fcddb3d98f1c (patch)
tree3a94888ddd239d04aab3ff1458cd3f3f4afa08f3 /drivers/edac/amd64_edac_inj.c
parent2c1946b6d6290c74c6ad8d0915590d64f33a034d (diff)
downloadlinux-4e8d230de9c1dff8e587ae769e46fcddb3d98f1c.tar.xz
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 <tiwai@suse.de> Link: http://lkml.kernel.org/r/1423046938-18111-3-git-send-email-tiwai@suse.de Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac_inj.c')
0 files changed, 0 insertions, 0 deletions