[SPARC64]: of_device_register() error checking fix
authorAndrew Morton <akpm@osdl.org>
Mon, 10 Jul 2006 22:28:54 +0000 (15:28 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 13 Jul 2006 08:50:01 +0000 (01:50 -0700)
device_create_file() can fail.  This causes the sparc64 compile to
fail when my fanatical __must_check patch is applied, due to -Werror.

[ Added necessary identical fix for sparc32. -DaveM]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found