aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2022-07-07 09:17:22 +0200
committerVinod Koul <vkoul@kernel.org>2022-07-08 10:40:43 +0530
commitb26baa53003d34c389565596d53f57712e723ce0 (patch)
treeaa0ece4c75989700865d2a61dee510fa745fa7b3 /drivers/phy
parentphy: cadence: Sierra: Remove unused `regmap` field from state struct (diff)
downloadlinux-dev-b26baa53003d34c389565596d53f57712e723ce0.tar.xz
linux-dev-b26baa53003d34c389565596d53f57712e723ce0.zip
phy: cadence-torrent: Remove unused `regmap` field from state struct
The driver state struct for the sierra PHY driver has a field named `regmap` that is never referenced. Remove it since it is unused. Not that there are separate fields of type `struct regmap` for the individual sections of the device's register map. These other regmaps are used and not affected by the patch. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20220707071722.44201-2-lars@metafoo.de Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/cadence/phy-cadence-torrent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c
index 7c4b8050485f..f099053c583c 100644
--- a/drivers/phy/cadence/phy-cadence-torrent.c
+++ b/drivers/phy/cadence/phy-cadence-torrent.c
@@ -331,7 +331,6 @@ struct cdns_torrent_phy {
struct cdns_torrent_inst phys[MAX_NUM_LANES];
int nsubnodes;
const struct cdns_torrent_data *init_data;
- struct regmap *regmap;
struct regmap *regmap_common_cdb;
struct regmap *regmap_phy_pcs_common_cdb;
struct regmap *regmap_phy_pma_common_cdb;