diff options
Diffstat (limited to 'arch/x86/kernel/sysfb.c')
-rw-r--r-- | arch/x86/kernel/sysfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/sysfb.c b/arch/x86/kernel/sysfb.c index 193ec2ce46c7..160386e9fc17 100644 --- a/arch/x86/kernel/sysfb.c +++ b/arch/x86/kernel/sysfb.c | |||
@@ -67,7 +67,7 @@ static __init int sysfb_init(void) | |||
67 | 67 | ||
68 | pd = platform_device_register_resndata(NULL, name, 0, | 68 | pd = platform_device_register_resndata(NULL, name, 0, |
69 | NULL, 0, si, sizeof(*si)); | 69 | NULL, 0, si, sizeof(*si)); |
70 | return IS_ERR(pd) ? PTR_ERR(pd) : 0; | 70 | return PTR_ERR_OR_ZERO(pd); |
71 | } | 71 | } |
72 | 72 | ||
73 | /* must execute after PCI subsystem for EFI quirks */ | 73 | /* must execute after PCI subsystem for EFI quirks */ |