staging: speakup: fix leaks of sysfs groups
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 17 Oct 2010 14:51:53 +0000 (18:51 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 19 Oct 2010 17:10:13 +0000 (10:10 -0700)
commit6a56486716d54d2c16c46cde6a5cf10062cd6719
tree911bb37e73068fbf0428deef842493ab576035e7
parent1a88a068710910aa9a303bc061f405b0768fef80
staging: speakup: fix leaks of sysfs groups

speakup_kobj_init() and speakup_kobj_exit() didn't remove
i18n_attr_group and main_attr_group sysfs groups.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/speakup/kobjects.c