diff options
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | 2021-08-24 15:02:10 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-24 19:15:04 +0100 |
commit | 5dc349ec131c6d40aeb2545064e285f0025fbb39 (patch) | |
tree | ac023cab6b8a093a8b91773116d060a49520fa2e /kernel/stacktrace.c | |
parent | 745649c59a0d1fde9dcc02286f23f8c78a1f724d (diff) |
spi: sprd: Pass offset instead of physical address to adi_read/_write()
The register offset would be added a physical address base and then pass to
the function sprd_adt_read()/_write() each time before calling them. So we
can do that within these two functions instead, that would make the code
more clear.
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lore.kernel.org/r/20210824070212.2089255-1-zhang.lyra@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions