diff options
| author | Lars-Peter Clausen <[email protected]> | 2022-07-19 09:46:37 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2022-10-01 00:02:45 +0000 |
| commit | 01874fb2a3e60365d9cc68cd931ac9ad6e90025a (patch) | |
| tree | 7c3b4a7f176ae8ea57cfd82693eb0c60a5cb7380 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
| parent | clk: vc5: Check IO access results (diff) | |
| download | kernel-01874fb2a3e60365d9cc68cd931ac9ad6e90025a.tar.gz kernel-01874fb2a3e60365d9cc68cd931ac9ad6e90025a.zip | |
clk: vc5: Use regmap_{set,clear}_bits() where appropriate
regmap_set_bits() and regmap_clear_bits() are variations of
regmap_update_bits() that can be used if all bits of the mask have to be
set to either 1 or 0 respectively.
Update the versaclk driver to use regmap_set_bits() and regmap_clear_bits()
where appropriate. This results in slightly more compact code and also
makes the intention of the code clearer which can help with review.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Luca Ceresoli <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions
