Various drivers: Cloned logic. On error, memory was freed, but the error was not returned. It just continued as though no error happened.

This commit is contained in:
Petro Karashchenko
2019-11-03 19:31:49 -06:00
committed by Gregory Nutt
parent 7bd045130c
commit e805bc0660
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ struct adc_fifo_s
/* This structure defines all of the operations providd by the architecture specific
* logic. All fields must be provided with non-NULL function pointers by the
* caller of can_register().
* caller of adc_register().
*/
struct adc_dev_s;