drm/nouveau: replace multiple open-coded runpm support checks with function

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2017-06-02 14:38:07 +10:00
commit 321f5c5f2c
3 changed files with 18 additions and 32 deletions