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:
@@ -25,7 +25,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
int sdram_mmr_init_full(struct udevice *dev)
|
||||
{
|
||||
struct altera_sdram_platdata *plat = dev->platdata;
|
||||
struct altera_sdram_platdata *plat = dev->plat;
|
||||
struct altera_sdram_priv *priv = dev_get_priv(dev);
|
||||
u32 i;
|
||||
int ret;
|
||||
|
Reference in New Issue
Block a user