Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/parport/parport_ip32.c: use PTR_ERR_OR_ZERO

replace IS_ERR/PTR_ERR

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Fabian Frederick and committed by
Linus Torvalds
340f365d 69361eef

+1 -1
+1 -1
drivers/parport/parport_ip32.c
··· 2204 2204 { 2205 2205 pr_info(PPIP32 "SGI IP32 built-in parallel port driver v0.6\n"); 2206 2206 this_port = parport_ip32_probe_port(); 2207 - return IS_ERR(this_port) ? PTR_ERR(this_port) : 0; 2207 + return PTR_ERR_OR_ZERO(this_port); 2208 2208 } 2209 2209 2210 2210 /**