treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm / include / asm / hardware / cache-uniphier.h
blobb1fefca65d4d68f0ed18a1ab270542030c33c533
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2015-2016 Socionext Inc.
4 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
5 */
7 #ifndef __CACHE_UNIPHIER_H
8 #define __CACHE_UNIPHIER_H
10 #include <linux/errno.h>
12 #ifdef CONFIG_CACHE_UNIPHIER
13 int uniphier_cache_init(void);
14 #else
15 static inline int uniphier_cache_init(void)
17 return -ENODEV;
19 #endif
21 #endif /* __CACHE_UNIPHIER_H */