mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
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:
@@ -195,7 +195,7 @@ static int conv_of_platdata(struct udevice *dev)
|
||||
static int rockchip_spi_ofdata_to_platdata(struct udevice *bus)
|
||||
{
|
||||
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
struct rockchip_spi_platdata *plat = dev_get_platdata(bus);
|
||||
struct rockchip_spi_platdata *plat = dev_get_plat(bus);
|
||||
struct rockchip_spi_priv *priv = dev_get_priv(bus);
|
||||
int ret;
|
||||
|
||||
@@ -253,7 +253,7 @@ static int rockchip_spi_calc_modclk(ulong max_freq)
|
||||
|
||||
static int rockchip_spi_probe(struct udevice *bus)
|
||||
{
|
||||
struct rockchip_spi_platdata *plat = dev_get_platdata(bus);
|
||||
struct rockchip_spi_platdata *plat = dev_get_plat(bus);
|
||||
struct rockchip_spi_priv *priv = dev_get_priv(bus);
|
||||
int ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user