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

Commit 7c036821 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

arch/sh/kernel/time.c: use PTR_ERR_OR_ZERO



Replace IS_ERR/PTR_ERR.

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 88f9802c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -80,10 +80,8 @@ static int __init rtc_generic_init(void)
		return -ENODEV;

	pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0);
	if (IS_ERR(pdev))
		return PTR_ERR(pdev);

	return 0;
	return PTR_ERR_OR_ZERO(pdev);
}
module_init(rtc_generic_init);