commit | ef288f9f656cdf46cb7788b6bb18da1c3b722feb | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Tue Sep 30 10:48:28 2014 -0700 |
committer | Sebastian Reichel <sre@kernel.org> | Mon Nov 17 03:07:09 2014 +0100 |
tree | df4ae56b7a2b2f33cec64198359a8bad76a5a390 | |
parent | 46c99ac66222aed719f26835eae4946d72880cbe [diff] |
power/reset: xgene: Return -ENOMEM if out of memory It is customary to return an error code of -ENOMEM if the system is out of memory. Also, in that case, the infrastructure will report an error, so it is unnecessary to report it again. Cc: Loc Ho <lho@apm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>