dm: treewide: Rename dev_get_platdata() to dev_get_plat()

Rename this to be consistent with the change from 'platdata'.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-12-03 16:55:20 -07:00
parent 4f50086ad6
commit c69cda25c9
333 changed files with 1009 additions and 1009 deletions

View File

@@ -87,7 +87,7 @@ static inline void cdns_ti_writel(struct cdns_ti *data, u32 offset, u32 value)
static int cdns_ti_probe(struct udevice *dev)
{
struct cdns_ti *data = dev_get_platdata(dev);
struct cdns_ti *data = dev_get_plat(dev);
struct clk usb2_refclk;
int modestrap_mode;
unsigned long rate;
@@ -167,7 +167,7 @@ static int cdns_ti_probe(struct udevice *dev)
static int cdns_ti_remove(struct udevice *dev)
{
struct cdns_ti *data = dev_get_platdata(dev);
struct cdns_ti *data = dev_get_plat(dev);
u32 reg;
/* put device back to RESET*/