diff options
author | Thierry Reding <treding@nvidia.com> | 2019-12-02 12:51:58 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-01-10 18:37:38 +0300 |
commit | 608f43ad27ab26700677cc4d9ead3b2d9d338a21 (patch) | |
tree | 16eea1013468b3336feeb858b489d3747f05b436 /include/linux/host1x.h | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-608f43ad27ab26700677cc4d9ead3b2d9d338a21.tar.xz |
gpu: host1x: Rename "parent" to "host"
Rename the host1x clients' parent to "host" because that more closely
describes what it is. The parent can be confused with the parent device
in terms of the device hierarchy. Subsequent patches will add a new
member that refers to the parent in that hierarchy.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/host1x.h')
-rw-r--r-- | include/linux/host1x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h index 6f8d772591ba..b673d6198e05 100644 --- a/include/linux/host1x.h +++ b/include/linux/host1x.h @@ -33,7 +33,7 @@ struct host1x_client_ops { /** * struct host1x_client - host1x client structure * @list: list node for the host1x client - * @parent: pointer to struct device representing the host1x controller + * @host: pointer to struct device representing the host1x controller * @dev: pointer to struct device backing this host1x client * @group: IOMMU group that this client is a member of * @ops: host1x client operations @@ -44,7 +44,7 @@ struct host1x_client_ops { */ struct host1x_client { struct list_head list; - struct device *parent; + struct device *host; struct device *dev; struct iommu_group *group; |