aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorInsu Yun <wuninsu@gmail.com>2016-02-15 21:19:57 -0500
committerLinus Walleij <linus.walleij@linaro.org>2016-02-16 16:36:22 +0100
commitaaf2b3afb93102411412f9dad8d84b13fc7f7edb (patch)
treefbaec6ff0177caf4092b61f3322ee63a2cf3017a /drivers/gpio/gpiolib.c
parentgpio: tps65218: Make tps65218_gpio_output set proper output level (diff)
downloadlinux-dev-aaf2b3afb93102411412f9dad8d84b13fc7f7edb.tar.xz
linux-dev-aaf2b3afb93102411412f9dad8d84b13fc7f7edb.zip
gpio-mcp23s08: correctly handling failed allocation
Since devm_kzalloc can be failed in memory pressure, it needs to check and return -ENOMEM Signed-off-by: Insu Yun <wuninsu@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions