summaryrefslogtreecommitdiffstats
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2014-06-26 12:40:27 +0530
committerJason Cooper <jason@lakedaemon.net>2014-06-30 19:11:24 +0000
commitedb442def98c3c64acc316b6b1a64791c138ab07 (patch)
tree34bdb1a3584dd9cb56cb69e477a90e805a69a76f /lib/pm-notifier-error-inject.c
parente30ef8abb383903f2b7e1bced971b98fd30cafc3 (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