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

Commit 340f365d authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

drivers/parport/parport_ip32.c: use PTR_ERR_OR_ZERO



replace IS_ERR/PTR_ERR

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 69361eef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2204,7 +2204,7 @@ static int __init parport_ip32_init(void)
{
	pr_info(PPIP32 "SGI IP32 built-in parallel port driver v0.6\n");
	this_port = parport_ip32_probe_port();
	return IS_ERR(this_port) ? PTR_ERR(this_port) : 0;
	return PTR_ERR_OR_ZERO(this_port);
}

/**