diff options
author | Simon Glass | 2020-12-03 16:55:18 -0700 |
---|---|---|
committer | Simon Glass | 2020-12-13 16:51:08 -0700 |
commit | caa4daa2ae3dc0a3e516addea5772c9af76abcb0 (patch) | |
tree | 0abbc5b538894532f4db28d56e4645d3be230d27 /drivers/clk | |
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 <sjg@chromium.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/altera/clk-agilex.c | 2 | ||||
-rw-r--r-- | drivers/clk/altera/clk-arria10.c | 2 | ||||
-rw-r--r-- | drivers/clk/at91/compat.c | 18 | ||||
-rw-r--r-- | drivers/clk/clk_boston.c | 2 | ||||
-rw-r--r-- | drivers/clk/clk_fixed_factor.c | 2 | ||||
-rw-r--r-- | drivers/clk/clk_fixed_rate.c | 2 | ||||
-rw-r--r-- | drivers/clk/rockchip/clk_rk3188.c | 2 | ||||
-rw-r--r-- | drivers/clk/rockchip/clk_rk3288.c | 2 | ||||
-rw-r--r-- | drivers/clk/rockchip/clk_rk3368.c | 2 | ||||
-rw-r--r-- | drivers/clk/rockchip/clk_rk3399.c | 4 |
10 files changed, 19 insertions, 19 deletions
diff --git a/drivers/clk/altera/clk-agilex.c b/drivers/clk/altera/clk-agilex.c index 8a71e2f8a1d..619621fa5b9 100644 --- a/drivers/clk/altera/clk-agilex.c +++ b/drivers/clk/altera/clk-agilex.c @@ -658,5 +658,5 @@ U_BOOT_DRIVER(socfpga_agilex_clk) = { .ops = &socfpga_clk_ops, .probe = socfpga_clk_probe, .ofdata_to_platdata = socfpga_clk_ofdata_to_platdata, - .platdata_auto = sizeof(struct socfpga_clk_platdata), + .plat_auto = sizeof(struct socfpga_clk_platdata), }; diff --git a/drivers/clk/altera/clk-arria10.c b/drivers/clk/altera/clk-arria10.c index 1d853cd3003..bb1b367ca6e 100644 --- a/drivers/clk/altera/clk-arria10.c +++ b/drivers/clk/altera/clk-arria10.c @@ -359,5 +359,5 @@ U_BOOT_DRIVER(socfpga_a10_clk) = { .probe = socfpga_a10_clk_probe, .ofdata_to_platdata = socfpga_a10_ofdata_to_platdata, - .platdata_auto = sizeof(struct socfpga_a10_clk_platdata), + .plat_auto = sizeof(struct socfpga_a10_clk_platdata), }; diff --git a/drivers/clk/at91/compat.c b/drivers/clk/at91/compat.c index 1b437117668..b56c01f3b06 100644 --- a/drivers/clk/at91/compat.c +++ b/drivers/clk/at91/compat.c @@ -225,7 +225,7 @@ U_BOOT_DRIVER(at91sam9x5_main_osc_clk) = { .id = UCLASS_CLK, .of_match = main_osc_clk_match, .probe = main_osc_clk_probe, - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &main_osc_clk_ops, }; @@ -266,7 +266,7 @@ U_BOOT_DRIVER(at91_plla_clk) = { .id = UCLASS_CLK, .of_match = plla_clk_match, .probe = plla_clk_probe, - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &plla_clk_ops, }; @@ -340,7 +340,7 @@ U_BOOT_DRIVER(at91_plladiv_clk) = { .id = UCLASS_CLK, .of_match = at91_plladiv_clk_match, .probe = at91_plladiv_clk_probe, - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &at91_plladiv_clk_ops, }; @@ -437,7 +437,7 @@ U_BOOT_DRIVER(system_clk) = { .name = "system-clk", .id = UCLASS_CLK, .probe = at91_clk_probe, - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &system_clk_ops, }; @@ -536,7 +536,7 @@ static struct clk_ops periph_clk_ops = { U_BOOT_DRIVER(clk_periph) = { .name = "periph-clk", .id = UCLASS_CLK, - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .probe = at91_clk_probe, .ops = &periph_clk_ops, }; @@ -668,7 +668,7 @@ U_BOOT_DRIVER(at91sam9x5_utmi_clk) = { .of_match = utmi_clk_match, .probe = utmi_clk_probe, .ofdata_to_platdata = utmi_clk_ofdata_to_platdata, - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &utmi_clk_ops, }; @@ -713,7 +713,7 @@ U_BOOT_DRIVER(sama5d4_h32mx_clk) = { .id = UCLASS_CLK, .of_match = sama5d4_h32mx_clk_match, .probe = sama5d4_h32mx_clk_probe, - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &sama5d4_h32mx_clk_ops, }; @@ -877,7 +877,7 @@ U_BOOT_DRIVER(generic_clk) = { .probe = at91_clk_probe, .ofdata_to_platdata = generic_clk_ofdata_to_platdata, .priv_auto = sizeof(struct generic_clk_priv), - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &generic_clk_ops, }; @@ -1013,7 +1013,7 @@ U_BOOT_DRIVER(at91_usb_clk) = { .probe = at91_usb_clk_probe, .ofdata_to_platdata = at91_usb_clk_ofdata_to_platdata, .priv_auto = sizeof(struct at91_usb_clk_priv), - .platdata_auto = sizeof(struct pmc_platdata), + .plat_auto = sizeof(struct pmc_platdata), .ops = &at91_usb_clk_ops, }; diff --git a/drivers/clk/clk_boston.c b/drivers/clk/clk_boston.c index 99edaec4b52..75e2e438422 100644 --- a/drivers/clk/clk_boston.c +++ b/drivers/clk/clk_boston.c @@ -92,6 +92,6 @@ U_BOOT_DRIVER(clk_boston) = { .id = UCLASS_CLK, .of_match = clk_boston_match, .ofdata_to_platdata = clk_boston_ofdata_to_platdata, - .platdata_auto = sizeof(struct clk_boston), + .plat_auto = sizeof(struct clk_boston), .ops = &clk_boston_ops, }; diff --git a/drivers/clk/clk_fixed_factor.c b/drivers/clk/clk_fixed_factor.c index 4519e0579b0..7a9d4234932 100644 --- a/drivers/clk/clk_fixed_factor.c +++ b/drivers/clk/clk_fixed_factor.c @@ -67,6 +67,6 @@ U_BOOT_DRIVER(clk_fixed_factor) = { .id = UCLASS_CLK, .of_match = clk_fixed_factor_match, .ofdata_to_platdata = clk_fixed_factor_ofdata_to_platdata, - .platdata_auto = sizeof(struct clk_fixed_factor), + .plat_auto = sizeof(struct clk_fixed_factor), .ops = &clk_fixed_factor_ops, }; diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c index 54e5e09b58c..3b60434019b 100644 --- a/drivers/clk/clk_fixed_rate.c +++ b/drivers/clk/clk_fixed_rate.c @@ -51,7 +51,7 @@ U_BOOT_DRIVER(fixed_clock) = { .id = UCLASS_CLK, .of_match = clk_fixed_rate_match, .ofdata_to_platdata = clk_fixed_rate_ofdata_to_platdata, - .platdata_auto = sizeof(struct clk_fixed_rate), + .plat_auto = sizeof(struct clk_fixed_rate), .ops = &clk_fixed_rate_ops, .flags = DM_FLAG_PRE_RELOC, }; diff --git a/drivers/clk/rockchip/clk_rk3188.c b/drivers/clk/rockchip/clk_rk3188.c index 5940cb33d47..f96aab967e2 100644 --- a/drivers/clk/rockchip/clk_rk3188.c +++ b/drivers/clk/rockchip/clk_rk3188.c @@ -617,7 +617,7 @@ U_BOOT_DRIVER(rockchip_rk3188_cru) = { .id = UCLASS_CLK, .of_match = rk3188_clk_ids, .priv_auto = sizeof(struct rk3188_clk_priv), - .platdata_auto = sizeof(struct rk3188_clk_plat), + .plat_auto = sizeof(struct rk3188_clk_plat), .ops = &rk3188_clk_ops, .bind = rk3188_clk_bind, .ofdata_to_platdata = rk3188_clk_ofdata_to_platdata, diff --git a/drivers/clk/rockchip/clk_rk3288.c b/drivers/clk/rockchip/clk_rk3288.c index 7c91e00c685..0263883aa66 100644 --- a/drivers/clk/rockchip/clk_rk3288.c +++ b/drivers/clk/rockchip/clk_rk3288.c @@ -1041,7 +1041,7 @@ U_BOOT_DRIVER(rockchip_rk3288_cru) = { .id = UCLASS_CLK, .of_match = rk3288_clk_ids, .priv_auto = sizeof(struct rk3288_clk_priv), - .platdata_auto = sizeof(struct rk3288_clk_plat), + .plat_auto = sizeof(struct rk3288_clk_plat), .ops = &rk3288_clk_ops, .bind = rk3288_clk_bind, .ofdata_to_platdata = rk3288_clk_ofdata_to_platdata, diff --git a/drivers/clk/rockchip/clk_rk3368.c b/drivers/clk/rockchip/clk_rk3368.c index 84b55ac6180..d32762ce1e4 100644 --- a/drivers/clk/rockchip/clk_rk3368.c +++ b/drivers/clk/rockchip/clk_rk3368.c @@ -645,7 +645,7 @@ U_BOOT_DRIVER(rockchip_rk3368_cru) = { .of_match = rk3368_clk_ids, .priv_auto = sizeof(struct rk3368_clk_priv), #if CONFIG_IS_ENABLED(OF_PLATDATA) - .platdata_auto = sizeof(struct rk3368_clk_plat), + .plat_auto = sizeof(struct rk3368_clk_plat), #endif .ofdata_to_platdata = rk3368_clk_ofdata_to_platdata, .ops = &rk3368_clk_ops, diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index 2e2613fd0dc..515c8553378 100644 --- a/drivers/clk/rockchip/clk_rk3399.c +++ b/drivers/clk/rockchip/clk_rk3399.c @@ -1453,7 +1453,7 @@ U_BOOT_DRIVER(clk_rk3399) = { .bind = rk3399_clk_bind, .probe = rk3399_clk_probe, #if CONFIG_IS_ENABLED(OF_PLATDATA) - .platdata_auto = sizeof(struct rk3399_clk_plat), + .plat_auto = sizeof(struct rk3399_clk_plat), #endif }; @@ -1648,6 +1648,6 @@ U_BOOT_DRIVER(rockchip_rk3399_pmuclk) = { .probe = rk3399_pmuclk_probe, .bind = rk3399_pmuclk_bind, #if CONFIG_IS_ENABLED(OF_PLATDATA) - .platdata_auto = sizeof(struct rk3399_pmuclk_plat), + .plat_auto = sizeof(struct rk3399_pmuclk_plat), #endif }; |