treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / um / include / asm / io.h
blob96f77b5232aafe01e1f73cf3641683160b8b1ba5
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_UM_IO_H
3 #define _ASM_UM_IO_H
5 #define ioremap ioremap
6 static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
8 return (void __iomem *)(unsigned long)offset;
11 #define iounmap iounmap
12 static inline void iounmap(void __iomem *addr)
16 #include <asm-generic/io.h>
18 #endif