[S390] call home: fix error handling in init function
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 29 Oct 2009 14:04:10 +0000 (15:04 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Thu, 29 Oct 2009 14:05:12 +0000 (15:05 +0100)
commit4a0fb4c44573759f878fc65f6ddbd46080748f8b
tree4fbd49410c12f2643dd60586faf9a7ce0cb74be9
parent4f8048ee734dab7c463574797b820c0c68c80791
[S390] call home: fix error handling in init function

Fix missing unregister_sysctl_table in case the SCLP doesn't provide
the requested feature. Also simplify the whole error handling while
at it.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_async.c