diff options
| author | Yangtao Li <[email protected]> | 2020-03-10 13:22:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-19 07:41:02 +0100 |
| commit | 6bb317ce7564fdf3b6bbb3e6ea9193fafde0ba8d (patch) | |
| tree | d3cef54d8b4ab3e2f47927aba9880bd303535a85 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c3f4af8b31834928946b344728edad72d9ec964c (diff) | |
nvmem: core: add nvmem_cell_read_common
Now there are nvmem_cell_read_u16 and nvmem_cell_read_u32.
They are very similar, let's strip out a common part.
And use nvmem_cell_read_common to simplify their implementation.
Signed-off-by: Yangtao Li <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions