We should not return 0 on failure, so return a negative error code instead. Also centralize the error path so that is easier to follow. Cc: Markus Niebel <Markus.Niebel@tq-group.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> |
||
|---|---|---|
| .. | ||
| tqm8xx | ||
| tqm834x | ||
| tqm5200 | ||
| tqma6 | ||