drm/radeon: use kernel is_power_of_2 rather than local version

Follow the amdgpu change made in
7611750784
and replace local radeon function with is_power_of_2().

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Jonathan Gray 2021-12-30 16:00:19 +11:00 • committed by Alex Deucher
commit 8c2d34eb53