[POWERPC] cell: catch errors from sysfs_create_group()
authorJeremy Kerr <jk@ozlabs.org>
Wed, 5 Dec 2007 02:49:31 +0000 (13:49 +1100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 19 Dec 2007 00:00:06 +0000 (01:00 +0100)
commit1e7710390f95b7efb3f74fd2f8b5fc28656b458c
tree5e5ed23235a313164bf45b249d55bb2c496bbce7
parent684bd614015188561197342fd336292e9e2ce196
[POWERPC] cell: catch errors from sysfs_create_group()

We're currently getting a warning from not checking the result of
sysfs_create_group, which is declared as __must_check.

This change introduces appropriate error-handling for
spu_add_sysdev_attr_group()

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/powerpc/platforms/cell/spu_base.c