diff options
author | Nishanth Menon <nm@ti.com> | 2014-06-26 12:40:27 +0530 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-06-30 19:11:24 +0000 |
commit | edb442def98c3c64acc316b6b1a64791c138ab07 (patch) | |
tree | 34bdb1a3584dd9cb56cb69e477a90e805a69a76f /lib/pm-notifier-error-inject.c | |
parent | e30ef8abb383903f2b7e1bced971b98fd30cafc3 (diff) |
irqchip: crossbar: Return proper error value
crossbar_of_init always returns -ENOMEM in case of errors.
There can be other causes of failure like invalid data from
DT. So return a appropriate error value for that case.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sricharan R <r.sricharan@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Link: https://lkml.kernel.org/r/1403766634-18543-10-git-send-email-r.sricharan@ti.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions