summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 14:54:06 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 12:40:08 +1000
commit5b920d926422fdc5b40b703d72344d5e20b3872a (patch)
treeb264b2563e67218a2b4102b8b87ae27310b09885 /drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
parente7d65181045898a6da80add0392765e253b0023c (diff)
downloadblackbird-op-linux-5b920d926422fdc5b40b703d72344d5e20b3872a.tar.gz
blackbird-op-linux-5b920d926422fdc5b40b703d72344d5e20b3872a.zip
drm/nouveau/i2c: cosmetic changes
This is purely preparation for upcoming commits, there should be no code changes here. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
index 3e2c2882d515..187af1183f2d 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
@@ -413,7 +413,7 @@ _nvkm_i2c_fini(struct nvkm_object *object, bool suspend)
impl->aux_stat(i2c, &mask, &mask, &mask, &mask);
}
- return nvkm_subdev_fini(&i2c->base, suspend);
+ return nvkm_subdev_fini(&i2c->subdev, suspend);
fail:
list_for_each_entry_continue_reverse(port, &i2c->ports, head) {
nv_ofuncs(port)->init(nv_object(port));
@@ -429,7 +429,7 @@ _nvkm_i2c_init(struct nvkm_object *object)
struct nvkm_i2c_port *port;
int ret;
- ret = nvkm_subdev_init(&i2c->base);
+ ret = nvkm_subdev_init(&i2c->subdev);
if (ret == 0) {
list_for_each_entry(port, &i2c->ports, head) {
ret = nv_ofuncs(port)->init(nv_object(port));
@@ -459,7 +459,7 @@ _nvkm_i2c_dtor(struct nvkm_object *object)
nvkm_object_ref(NULL, (struct nvkm_object **)&port);
}
- nvkm_subdev_destroy(&i2c->base);
+ nvkm_subdev_destroy(&i2c->subdev);
}
static struct nvkm_oclass *
OpenPOWER on IntegriCloud