mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
drm/nouveau/client: tidy ctor/dtor interfaces
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -308,7 +308,7 @@ nvkm_devobj_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
|
||||
oclass = &nvkm_devobj_oclass_super;
|
||||
|
||||
/* find the device subdev that matches what the client requested */
|
||||
device = nv_device(client->device);
|
||||
device = client->device;
|
||||
if (args->v0.device != ~0) {
|
||||
device = nvkm_device_find(args->v0.device);
|
||||
if (!device)
|
||||
|
||||
Reference in New Issue
Block a user