Chunyan Zhang 5dc349ec13
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>
2021-08-24 19:15:04 +01:00
..
2021-06-03 14:05:00 +01:00
2021-04-26 16:32:11 -07:00
2020-10-08 23:00:06 +01:00
2021-08-12 12:19:19 +01:00
2020-10-24 10:33:08 -07:00
2021-08-05 16:42:53 +01:00
2021-05-11 15:42:47 +01:00