drm/nouveau/pmu/gk20a: simplify code a bit
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:23 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:31 +0000 (15:14 +1000)
commit68d82161fdab51f44767bcde801fd6a58bef9548
tree4b54b2d6c2738ef7fae9ebece7a70178df84c789
parentd8711c5a9cfd6b06d611a64a30ae3e98ef4e6962
drm/nouveau/pmu/gk20a: simplify code a bit

Some functions always succeed - change their return type to void and
remove the error-handling code in their caller.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c