drm/nouveau/core: fix subdev/engine/device lookup to not require engine pointer

It's about to not be valid for objects that aren't in the client
object tree.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2014-12-05 11:26:23 +10:00
commit 490d595f32
3 changed files with 20 additions and 21 deletions