diff options
author | Alban Bedel <albeu@free.fr> | 2019-01-28 15:55:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-31 16:24:14 +0100 |
commit | 5087cc198e545ff9974b20daf2d43658f7711aa0 (patch) | |
tree | 1c94bbe6ebf3eecb13d51541bab1590b5e890310 /scripts/gfp-translate | |
parent | 1716cfe8be4974741e56529aa7076f244aed9ade (diff) | |
download | lwn-5087cc198e545ff9974b20daf2d43658f7711aa0.tar.gz lwn-5087cc198e545ff9974b20daf2d43658f7711aa0.zip |
nvmem: core: Fix of_nvmem_cell_get() for optional cells
of_nvmem_cell_get() should return -ENOENT when a cell isn't defined,
otherwise callers can't distinguish between a missing cell and other
errors.
Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gfp-translate')
0 files changed, 0 insertions, 0 deletions