driver core: devcoredump: convert to use class_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Nov 2016 15:41:58 +0000 (16:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 20:12:12 +0000 (21:12 +0100)
commitf76d25275c314defb684fdd692239507001774bc
treefcb5fb57a76e4ea93a6f22fa5ee3f149454d302b
parentced6473e7486702f530a49f886b73195e4977734
driver core: devcoredump: convert to use class_groups

Convert devcoredump to use class_groups instead of class_attrs as that's
the correct way to handle lists of class attribute files.

Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devcoredump.c