drm/nouveau/vp: cosmetic changes
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:08 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:13 +0000 (12:40 +1000)
This is purely preparation for upcoming commits, there should be no
code changes here.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c

index 45f4e186befc16563901e6b9080e89c29ebeb99e..703ddcfb207b0e46ed0fb3f67562b28ffcbb0388 100644 (file)
@@ -62,20 +62,20 @@ g84_vp_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
            struct nvkm_oclass *oclass, void *data, u32 size,
            struct nvkm_object **pobject)
 {
-       struct nvkm_xtensa *priv;
+       struct nvkm_xtensa *vp;
        int ret;
 
        ret = nvkm_xtensa_create(parent, engine, oclass, 0xf000, true,
-                                "PVP", "vp", &priv);
-       *pobject = nv_object(priv);
+                                "PVP", "vp", &vp);
+       *pobject = nv_object(vp);
        if (ret)
                return ret;
 
-       nv_subdev(priv)->unit = 0x01020000;
-       nv_engine(priv)->cclass = &g84_vp_cclass;
-       nv_engine(priv)->sclass = g84_vp_sclass;
-       priv->fifo_val = 0x111;
-       priv->unkd28 = 0x9c544;
+       nv_subdev(vp)->unit = 0x01020000;
+       nv_engine(vp)->cclass = &g84_vp_cclass;
+       nv_engine(vp)->sclass = g84_vp_sclass;
+       vp->fifo_val = 0x111;
+       vp->unkd28 = 0x9c544;
        return 0;
 }