diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-04 10:48:53 (GMT) |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-02-23 12:08:09 (GMT) |
commit | e339f1ec979a4ab14b497114e39b8ab70bd0215d (patch) | |
tree | 73b213cf415b2ccf03afc9f23b31137f5062b16a /drivers/w1/w1_log.h | |
parent | 4e8d230de9c1dff8e587ae769e46fcddb3d98f1c (diff) | |
download | linux-e339f1ec979a4ab14b497114e39b8ab70bd0215d.tar.xz |
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 <tiwai@suse.de>
Link: http://lkml.kernel.org/r/1423046938-18111-4-git-send-email-tiwai@suse.de
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/w1/w1_log.h')
0 files changed, 0 insertions, 0 deletions