mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
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>
This commit is contained in:
parent
4e123efa45
commit
085009f9b2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user