drm/nouveau/bsp: cosmetic changes
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:07 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:10 +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/bsp/g84.c

index a0b1fd8..6b69d66 100644 (file)
@@ -62,20 +62,20 @@ g84_bsp_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 *bsp;
        int ret;
 
        ret = nvkm_xtensa_create(parent, engine, oclass, 0x103000, true,
-                                "PBSP", "bsp", &priv);
-       *pobject = nv_object(priv);
+                                "PBSP", "bsp", &bsp);
+       *pobject = nv_object(bsp);
        if (ret)
                return ret;
 
-       nv_subdev(priv)->unit = 0x04008000;
-       nv_engine(priv)->cclass = &g84_bsp_cclass;
-       nv_engine(priv)->sclass = g84_bsp_sclass;
-       priv->fifo_val = 0x1111;
-       priv->unkd28 = 0x90044;
+       nv_subdev(bsp)->unit = 0x04008000;
+       nv_engine(bsp)->cclass = &g84_bsp_cclass;
+       nv_engine(bsp)->sclass = g84_bsp_sclass;
+       bsp->fifo_val = 0x1111;
+       bsp->unkd28 = 0x90044;
        return 0;
 }