diff options
Diffstat (limited to 'drivers/s390/char/sclp.c')
-rw-r--r-- | drivers/s390/char/sclp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c index 1990285296c6..c316051d9bda 100644 --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c | |||
@@ -1252,7 +1252,7 @@ static __init int sclp_initcall(void) | |||
1252 | return rc; | 1252 | return rc; |
1253 | 1253 | ||
1254 | sclp_pdev = platform_device_register_simple("sclp", -1, NULL, 0); | 1254 | sclp_pdev = platform_device_register_simple("sclp", -1, NULL, 0); |
1255 | rc = PTR_RET(sclp_pdev); | 1255 | rc = PTR_ERR_OR_ZERO(sclp_pdev); |
1256 | if (rc) | 1256 | if (rc) |
1257 | goto fail_platform_driver_unregister; | 1257 | goto fail_platform_driver_unregister; |
1258 | 1258 | ||