staging: wlags49_h2: Handle sysfs_create_group return correctly
authorDavid Kilroy <kilroyd@googlemail.com>
Sun, 9 Oct 2011 11:11:31 +0000 (12:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Oct 2011 22:22:36 +0000 (15:22 -0700)
The function returns 0 on success and non-zero on error. So
correctly record the status so it is freed appropriately.

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found