aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Ciocaltea <[email protected]>2022-07-06 13:06:25 +0300
committerMark Brown <[email protected]>2022-07-06 15:20:49 +0100
commit1e71ffee97ac02b83b6ff75b52fa7b21b9149f7d (patch)
tree2e41ef61ca17a0cf214ae0d195ef26f0188717fc
parentdeef4da8be2f7e94a0807e56f856d3e20addce4d (diff)
spi: amd: Drop io_base_addr member from struct amd_spi
The io_base_addr member of struct amd_spi is not referenced anywhere in the driver implementation and there is no indication that it could be used in the future, hence drop it. Signed-off-by: Cristian Ciocaltea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--drivers/spi/spi-amd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-amd.c b/drivers/spi/spi-amd.c
index 1aa19a02a7b6..6eddb950e1ad 100644
--- a/drivers/spi/spi-amd.c
+++ b/drivers/spi/spi-amd.c
@@ -47,7 +47,6 @@ enum amd_spi_versions {
struct amd_spi {
void __iomem *io_remap_addr;
- unsigned long io_base_addr;
enum amd_spi_versions version;
};