mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -67,7 +67,7 @@ static int dm_test_adc_supply(struct unit_test_state *uts)
|
||||
ut_assertok(regulator_set_value(supply, SANDBOX_BUCK2_SET_UV));
|
||||
ut_asserteq(SANDBOX_BUCK2_SET_UV, regulator_get_value(supply));
|
||||
|
||||
/* Update ADC platdata and get new Vdd value */
|
||||
/* Update ADC plat and get new Vdd value */
|
||||
ut_assertok(adc_vdd_value(dev, &uV));
|
||||
ut_asserteq(SANDBOX_BUCK2_SET_UV, uV);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user