treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / crypto / caam / dpseci-debugfs.h
blobbc22af7bec377944ec768a1b5a8f468d8ba1dd14
1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /* Copyright 2019 NXP */
4 #ifndef DPSECI_DEBUGFS_H
5 #define DPSECI_DEBUGFS_H
7 #include <linux/dcache.h>
8 #include "caamalg_qi2.h"
10 #ifdef CONFIG_DEBUG_FS
11 void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv);
12 void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv);
13 #else
14 static inline void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv) {}
15 static inline void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv) {}
16 #endif /* CONFIG_DEBUG_FS */
18 #endif /* DPSECI_DEBUGFS_H */