Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Lars-Peter Clausen and committed by
Vinod Koul
085009f9 4e123efa

-1
-1
drivers/phy/cadence/phy-cadence-sierra.c
··· 348 348 349 349 struct cdns_sierra_phy { 350 350 struct device *dev; 351 - struct regmap *regmap; 352 351 const struct cdns_sierra_data *init_data; 353 352 struct cdns_sierra_inst phys[SIERRA_MAX_LANES]; 354 353 struct reset_control *phy_rst;