diff options
author | Vivek Gautam <[email protected]> | 2017-01-22 23:02:38 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-01-25 11:49:39 +0100 |
commit | 3b4a687726f0019115bd903d9724db6cdcbb00fe (patch) | |
tree | e6209f4fd1eeae6e56b8dbd5575bdcaee1541001 /lib/dynamic_debug.c | |
parent | 1e928fff9a7444cbfbbb2420eb8cec79bfa53c6f (diff) |
nvmem: core: Allow ignoring length when reading a cell
nvmem_cell_read() API fills in the argument 'len' with
the number of bytes read from the cell. Many users don't
care about this length value. So allow users to pass a
NULL pointer to this len field.
Signed-off-by: Vivek Gautam <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions