]> git.karo-electronics.de Git - linux-beck.git/commit
EDAC: i7core: Use static attribute groups for sysfs entries
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Feb 2015 10:48:55 +0000 (11:48 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 23 Feb 2015 12:09:39 +0000 (13:09 +0100)
commit2eace188f6ba54078db0bc055bb161a99877f2d3
tree7d3d66368a5f6ff6669533b11ce1fbcd70e346e3
parente97d7e38162dc305b4734a316ca758a2bbd1fa6e
EDAC: i7core: Use static attribute groups for sysfs entries

... instead of manual device_create_file() and device_remove_file()
calls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
[ Add NULL terminator to i7core_dev_attrs[] caught by the build robot. ]
Reported-by: Huang Ying <ying.huang@intel.com>
Link: http://lkml.kernel.org/r/1423046938-18111-6-git-send-email-tiwai@suse.de
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/i7core_edac.c