mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -96,7 +96,7 @@ enum {
|
||||
* (the hubs) have this as parent data. Hubs are children of controllers or
|
||||
* other hubs and there is always a single root hub for each controller.
|
||||
* Therefore struct usb_device can always be accessed with
|
||||
* dev_get_parentdata(dev), where dev is a USB device.
|
||||
* dev_get_parent_priv(dev), where dev is a USB device.
|
||||
*
|
||||
* Pointers exist for obtaining both the device (could be any uclass) and
|
||||
* controller (UCLASS_USB) from this structure. The controller does not have
|
||||
|
Reference in New Issue
Block a user