@@ -133,7 +133,7 @@ struct gna_driver_api {
133133 * @param cfg Device configuration information
134134 *
135135 * @retval 0 If the configuration is successful
136- * @retval A negative erro code in case of a failure.
136+ * @retval A negative error code in case of a failure.
137137 */
138138static inline int gna_configure (struct device * dev , struct gna_config * cfg )
139139{
@@ -153,7 +153,7 @@ static inline int gna_configure(struct device *dev, struct gna_config *cfg)
153153 * @param model_handle Handle to the registered model if registration succeeds
154154 *
155155 * @retval 0 If registration of the model is successful.
156- * @retval A negative erro code in case of a failure.
156+ * @retval A negative error code in case of a failure.
157157 */
158158static inline int gna_register_model (struct device * dev ,
159159 struct gna_model_info * model , void * * model_handle )
@@ -174,7 +174,7 @@ static inline int gna_register_model(struct device *dev,
174174 * @param model Model handle output by gna_register_model API
175175 *
176176 * @retval 0 If de-registration of the model is successful.
177- * @retval A negative erro code in case of a failure.
177+ * @retval A negative error code in case of a failure.
178178 */
179179static inline int gna_deregister_model (struct device * dev , void * model )
180180{
@@ -195,7 +195,7 @@ static inline int gna_deregister_model(struct device *dev, void *model)
195195 * @param callback A callback function to notify inference completion
196196 *
197197 * @retval 0 If the request is accepted
198- * @retval A negative erro code in case of a failure.
198+ * @retval A negative error code in case of a failure.
199199 */
200200static inline int gna_infer (struct device * dev , struct gna_inference_req * req ,
201201 gna_callback callback )
0 commit comments