diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-09-21 15:40:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-28 15:14:54 +0200 |
commit | 424d7033add17ce897305242901e14df1ff90195 (patch) | |
tree | 3aa2a927d1519ccc55c744ba2670d650eb4be396 /COPYING | |
parent | nvmem: use kref (diff) | |
download | linux-424d7033add17ce897305242901e14df1ff90195.tar.xz linux-424d7033add17ce897305242901e14df1ff90195.zip |
nvmem: sunxi_sid: return -ENOMEM if kzalloc() fails
The driver currently returns -EINVAL if kzalloc() fails in probe().
Change it to -ENOMEM as it should be.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions