diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-05-27 14:40:50 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-05-28 17:32:10 +0200 |
commit | 4c411ce35b866a351bca76b1d853eabdfa58998e (patch) | |
tree | 27d9c351891aabe4f38874252431ee144c695f10 /drivers/gpio/gpio-max77620.c | |
parent | tools: gpio: Add include/linux/gpio.h to .gitignore (diff) | |
download | linux-4c411ce35b866a351bca76b1d853eabdfa58998e.tar.xz linux-4c411ce35b866a351bca76b1d853eabdfa58998e.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-max77620.c')
0 files changed, 0 insertions, 0 deletions