diff options
| author | Simon Glass <[email protected]> | 2020-12-03 16:55:18 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2020-12-13 16:51:08 -0700 |
| commit | caa4daa2ae3dc0a3e516addea5772c9af76abcb0 (patch) | |
| tree | 0abbc5b538894532f4db28d56e4645d3be230d27 /drivers/phy | |
| parent | 41575d8e4c334df148c4cdd7c40cc825dc0fcaa1 (diff) | |
dm: treewide: Rename 'platdata' variables to just 'plat'
We use 'priv' for private data but often use 'platdata' for platform data.
We can't really use 'pdata' since that is ambiguous (it could mean private
or platform data).
Rename some of the latter variables to end with 'plat' for consistency.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/phy')
| -rw-r--r-- | drivers/phy/allwinner/phy-sun4i-usb.c | 2 | ||||
| -rw-r--r-- | drivers/phy/phy-bcm-sr-pcie.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c index aadb2901261..f5ed96914bd 100644 --- a/drivers/phy/allwinner/phy-sun4i-usb.c +++ b/drivers/phy/allwinner/phy-sun4i-usb.c @@ -646,6 +646,6 @@ U_BOOT_DRIVER(sun4i_usb_phy) = { .of_match = sun4i_usb_phy_ids, .ops = &sun4i_usb_phy_ops, .probe = sun4i_usb_phy_probe, - .platdata_auto = sizeof(struct sun4i_usb_phy_plat[MAX_PHYS]), + .plat_auto = sizeof(struct sun4i_usb_phy_plat[MAX_PHYS]), .priv_auto = sizeof(struct sun4i_usb_phy_data), }; diff --git a/drivers/phy/phy-bcm-sr-pcie.c b/drivers/phy/phy-bcm-sr-pcie.c index 9f7c983ce42..f0e795333b9 100644 --- a/drivers/phy/phy-bcm-sr-pcie.c +++ b/drivers/phy/phy-bcm-sr-pcie.c @@ -172,6 +172,6 @@ U_BOOT_DRIVER(sr_pcie_phy) = { .probe = sr_pcie_phy_probe, .of_match = sr_pcie_phy_match_table, .ops = &sr_pcie_phy_ops, - .platdata_auto = sizeof(struct sr_pcie_phy_core), + .plat_auto = sizeof(struct sr_pcie_phy_core), .priv_auto = sizeof(struct sr_pcie_phy_core), }; |
