nvmem: sunxi_sid: Drop the workaround on A64
authorSamuel Holland <samuel@sholland.org>
Mon, 6 Feb 2023 13:43:35 +0000 (13:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 18:06:58 +0000 (19:06 +0100)
commitc9dde85d25d3d59068bdb1e8cc5a4b7be5530bd4
tree589a1e0ea0d245891175f89b9d6667660899b71f
parent3b65010018ec9a228416c4ccda193af6e8d74676
nvmem: sunxi_sid: Drop the workaround on A64

Now that the SRAM readout code is fixed by using 32-bit accesses, it
always returns the same values as register readout, so the A64 variant
no longer needs the workaround. This makes the D1 variant structure
redundant, so remove it.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230206134356.839737-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/sunxi_sid.c