staging: lustre: obdclass: Remove a attribute group from a kobject
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 25 Nov 2017 06:39:30 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 13:14:44 +0000 (14:14 +0100)
commit4f3f073057341e02282cd500eee529522ecc8145
tree9c61ce4e933f52f686c9ee018deb7ccb413b3ea4
parentc127e451a71b8cbe6c3d8fc946ab12b9d9c1bab1
staging: lustre: obdclass: Remove a attribute group from a kobject

All attribute group created during class_procfs_init() should be
removed.
if class_procfs_init() will fail and also in class_procfs_clean().

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c