treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / include / asm / ide.h
blobce87a4441ca34887f80bb28ad60e3d172e76d232
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 1994-1996 Linus Torvalds & authors
5 * This file contains the powerpc architecture specific IDE code.
6 */
7 #ifndef _ASM_POWERPC_IDE_H
8 #define _ASM_POWERPC_IDE_H
10 #include <linux/compiler.h>
11 #include <asm/io.h>
13 #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c))
14 #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c))
15 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c))
16 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c))
18 #endif /* _ASM_POWERPC_IDE_H */