summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2022-07-07 09:17:21 +0200
committerVinod Koul <vkoul@kernel.org>2022-07-08 10:40:43 +0530
commit085009f9b27243d6f2b6910a877f868553e75d84 (patch)
tree5f26d6d3fbde283dca1b2279df310f3250da676c /drivers/phy
parent4e123efa45671ab9255aa4c4d990eb26a0e2ab94 (diff)
phy: cadence: Sierra: 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-1-lars@metafoo.de Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/cadence/phy-cadence-sierra.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c
index 73fb99ccd525..6e86a6517f37 100644
--- a/drivers/phy/cadence/phy-cadence-sierra.c
+++ b/drivers/phy/cadence/phy-cadence-sierra.c
@@ -348,7 +348,6 @@ struct cdns_regmap_cdb_context {
struct cdns_sierra_phy {
struct device *dev;
- struct regmap *regmap;
const struct cdns_sierra_data *init_data;
struct cdns_sierra_inst phys[SIERRA_MAX_LANES];
struct reset_control *phy_rst;