Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8d95ce9 authored by Fabian Frederick's avatar Fabian Frederick Committed by H. Peter Anvin
Browse files

x86/sysfb: Use PTR_ERR_OR_ZERO

parent cbda45a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ static __init int sysfb_init(void)

	pd = platform_device_register_resndata(NULL, name, 0,
					       NULL, 0, si, sizeof(*si));
	return IS_ERR(pd) ? PTR_ERR(pd) : 0;
	return PTR_ERR_OR_ZERO(pd);
}

/* must execute after PCI subsystem for EFI quirks */