treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / crypto / caam / jr.h
blobeab611530f3602f0aae377dcae423dea0ae46413
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * CAAM public-level include definitions for the JobR backend
5 * Copyright 2008-2011 Freescale Semiconductor, Inc.
6 */
8 #ifndef JR_H
9 #define JR_H
11 /* Prototypes for backend-level services exposed to APIs */
12 struct device *caam_jr_alloc(void);
13 void caam_jr_free(struct device *rdev);
14 int caam_jr_enqueue(struct device *dev, u32 *desc,
15 void (*cbk)(struct device *dev, u32 *desc, u32 status,
16 void *areq),
17 void *areq);
19 #endif /* JR_H */