]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/clk/gk20a: reorganize MNP calculation a bit
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 1 Jun 2016 08:39:22 +0000 (17:39 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commit336ab161d37eb32bf1cd077f9d5aa38f88953585
treef02a375ec93f46652d262189dc357c929c8025b2
parent5803860ba8f2b101b15db7171bb181f16851bf4a
drm/nouveau/clk/gk20a: reorganize MNP calculation a bit

Move variables declarations to their actual scope of use, and simplify
code a bit.

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