commit | 424d7033add17ce897305242901e14df1ff90195 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Fri Sep 21 06:40:09 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 28 15:14:54 2018 +0200 |
tree | 3aa2a927d1519ccc55c744ba2670d650eb4be396 | |
parent | c1de7f43bd84271e438a4f2dadc4ba9a353baaea [diff] |
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>