EDAC: octeon: Use static attribute groups for sysfs entries
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Feb 2015 10:48:57 +0000 (11:48 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 23 Feb 2015 12:12:05 +0000 (13:12 +0100)
commit1bf06a0d55a5d3e19b6da970d7194d6067f4204b
tree2cc0aa72ba519e874e6ac54fc8e1d3018d13bd1a
parent917c85b545851535149551b0f970e709fac94622
EDAC: octeon: 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>
Link: http://lkml.kernel.org/r/1423046938-18111-8-git-send-email-tiwai@suse.de
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/octeon_edac-lmc.c