diff options
author | Thierry Reding <treding@nvidia.com> | 2019-12-02 10:51:58 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-01-10 16:37:38 +0100 |
commit | 608f43ad27ab26700677cc4d9ead3b2d9d338a21 (patch) | |
tree | 16eea1013468b3336feeb858b489d3747f05b436 /drivers/gpu/host1x/syncpt.c | |
parent | Linux 5.5-rc1 (diff) | |
download | linux-608f43ad27ab26700677cc4d9ead3b2d9d338a21.tar.xz linux-608f43ad27ab26700677cc4d9ead3b2d9d338a21.zip |
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 'drivers/gpu/host1x/syncpt.c')
-rw-r--r-- | drivers/gpu/host1x/syncpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/syncpt.c b/drivers/gpu/host1x/syncpt.c index dd1cd0142941..fce7892d5137 100644 --- a/drivers/gpu/host1x/syncpt.c +++ b/drivers/gpu/host1x/syncpt.c @@ -421,7 +421,7 @@ int host1x_syncpt_init(struct host1x *host) struct host1x_syncpt *host1x_syncpt_request(struct host1x_client *client, unsigned long flags) { - struct host1x *host = dev_get_drvdata(client->parent->parent); + struct host1x *host = dev_get_drvdata(client->host->parent); return host1x_syncpt_alloc(host, client, flags); } |