public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] phy: cadence: Sierra: Remove unused `regmap` field from state struct
@ 2022-07-07  7:17 Lars-Peter Clausen
  2022-07-07  7:17 ` [PATCH 2/2] phy: cadence-torrent: " Lars-Peter Clausen
  2022-07-08  5:11 ` [PATCH 1/2] phy: cadence: Sierra: " Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Lars-Peter Clausen @ 2022-07-07  7:17 UTC (permalink / raw)
  To: Kishon Vijay Abraham I, Vinod Koul, Swapnil Jakhade
  Cc: linux-phy, linux-kernel, Lars-Peter Clausen

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>
---
 drivers/phy/cadence/phy-cadence-sierra.c | 1 -
 1 file changed, 1 deletion(-)

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;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-08  5:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-07  7:17 [PATCH 1/2] phy: cadence: Sierra: Remove unused `regmap` field from state struct Lars-Peter Clausen
2022-07-07  7:17 ` [PATCH 2/2] phy: cadence-torrent: " Lars-Peter Clausen
2022-07-08  5:11 ` [PATCH 1/2] phy: cadence: Sierra: " Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox