commit | 4c411ce35b866a351bca76b1d853eabdfa58998e | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Mon May 27 14:40:50 2019 +0200 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Tue May 28 17:32:10 2019 +0200 |
tree | 27d9c351891aabe4f38874252431ee144c695f10 | |
parent | ef9ace6f8008125e0f35ddd725ad07ca0de2f3e2 [diff] |
gpio: em: Remove error messages on out-of-memory conditions There is no need to print error messages when memory allocations or related operations fail, as the core will take care of that. Change the returned error codes to -ENOMEM to match the failure cause while at it. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>