summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-max77620.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-05-27 14:40:50 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-05-28 17:32:10 +0200
commit4c411ce35b866a351bca76b1d853eabdfa58998e (patch)
tree27d9c351891aabe4f38874252431ee144c695f10 /drivers/gpio/gpio-max77620.c
parenttools: gpio: Add include/linux/gpio.h to .gitignore (diff)
downloadlinux-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