diff options
author | Simon Glass <sjg@chromium.org> | 2015-09-29 08:32:01 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-10-23 18:42:28 +0300 |
commit | bcbe3d157904d3dd4d6b18a81859db45a5da2678 (patch) | |
tree | a0d6577e593f6f0cf95f9f55271f17bf1946b1b3 /drivers/spi/ich.c | |
parent | 9f13b6d147dc74f2400ce18d9d4005ba53f21fd3 (diff) | |
download | u-boot-bcbe3d157904d3dd4d6b18a81859db45a5da2678.tar.xz |
dm: Rename dev_get_parentdata() to dev_get_parent_priv()
The current name is inconsistent with other driver model data access
functions. Rename it and fix up all users.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/spi/ich.c')
-rw-r--r-- | drivers/spi/ich.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index be4c0a3353..b974e8432c 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -740,7 +740,7 @@ static int ich_spi_child_pre_probe(struct udevice *dev) struct udevice *bus = dev_get_parent(dev); struct ich_spi_platdata *plat = dev_get_platdata(bus); struct ich_spi_priv *priv = dev_get_priv(bus); - struct spi_slave *slave = dev_get_parentdata(dev); + struct spi_slave *slave = dev_get_parent_priv(dev); /* * Yes this controller can only write a small number of bytes at |