aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-09-09 13:31:19 +0100
committerClaudiu Beznea <claudiu.beznea@microchip.com>2022-09-14 10:57:06 +0300
commit5fa27b77a14041d709edcd4497d419b78aa00849 (patch)
treee1ab2e612204d944373304edf2c1809fb1e47b5b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parent52fe6b5293073be8a9c9c0b45424b596d11e4c6e (diff)
clk: microchip: mpfs: simplify control reg access
The control reg addresses are known when the clocks are registered, so we can, instead of assigning a base pointer to the structs, assign the control reg addresses directly. Accordingly, remove the interim variables used during reads/writes to those registers. Reviewed-by: Daire McNamara <daire.mcnamara@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220909123123.2699583-11-conor.dooley@microchip.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions