diff options
author | Insu Yun <wuninsu@gmail.com> | 2016-02-16 05:19:57 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-02-16 18:36:22 +0300 |
commit | aaf2b3afb93102411412f9dad8d84b13fc7f7edb (patch) | |
tree | fbaec6ff0177caf4092b61f3322ee63a2cf3017a /drivers/tc | |
parent | 818cc6a5f8c6030d05f7dcb21970bf5f7db5dcbd (diff) | |
download | linux-aaf2b3afb93102411412f9dad8d84b13fc7f7edb.tar.xz |
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/tc')
0 files changed, 0 insertions, 0 deletions