drm/nouveau: replace multiple open-coded runpm support checks with function
authorBen Skeggs <bskeggs@redhat.com>
Fri, 2 Jun 2017 04:38:07 +0000 (14:38 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 6 Jun 2017 04:04:03 +0000 (14:04 +1000)
commit321f5c5f2c494f3c94cec2289c8add678657ba2d
treececa8e733fa2c41ad324b215552727b4c1977775
parent86276921a17ee3090749c9f38f57dcfb73733bd4
drm/nouveau: replace multiple open-coded runpm support checks with function

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_vga.c