drm/nouveau/clk: Fix potential NULL pointer access when there is no fb subdev
authorKarol Herbst <karolherbst@gmail.com>
Tue, 12 Jul 2016 19:36:08 +0000 (21:36 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 12 Oct 2016 07:29:18 +0000 (17:29 +1000)
commitcc90badd3c077ee18f82114988dbd53faf8f34c3
tree75a9909abb6fe169ed1fa4c3233770771b1212e9
parenta8c119a4d0af1633eb37af87c61b632646894329
drm/nouveau/clk: Fix potential NULL pointer access when there is no fb subdev

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c