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:
@@ -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*/
|
||||
|
Reference in New Issue
Block a user