summaryrefslogtreecommitdiffstats
path: root/lib/test_firmware.c
diff options
context:
space:
mode:
authorVivek Gautam2017-01-23 00:02:40 +0100
committerGreg Kroah-Hartman2017-01-25 11:49:39 +0100
commitfd0c478c0dd800449e2d70025ef742679a16a8de (patch)
treee86523b9f86717ce44f515b7ed434646eeebd985 /lib/test_firmware.c
parentnvmem: core: Correct a bunch of function documentations (diff)
downloadkernel-qcow2-linux-fd0c478c0dd800449e2d70025ef742679a16a8de.tar.gz
kernel-qcow2-linux-fd0c478c0dd800449e2d70025ef742679a16a8de.tar.xz
kernel-qcow2-linux-fd0c478c0dd800449e2d70025ef742679a16a8de.zip
nvmem: core: Allow getting nvmem cell with a NULL cell id
The nvmem cell with a NULL cell name/id should be the one with no accompanying 'nvmem-cell-names' property, and thus will be the cell at index 0 in the device tree. So, we default to index 0 and update the cell index only when nvmem cell name id exists. Suggested-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_firmware.c')
0 files changed, 0 insertions, 0 deletions