Takashi Iwai 4e8d230de9 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>
2015-02-23 13:07:41 +01:00
..
2014-10-30 13:42:48 +01:00
2011-04-19 00:23:22 +02:00
2014-02-25 10:01:30 +01:00
2014-12-08 20:17:49 -08:00
2014-03-11 06:55:49 -03:00
2011-04-19 00:23:22 +02:00
2014-12-14 16:10:09 -08:00
2009-04-02 19:05:03 -07:00