Use hweight32 instead of counting for each bit
Signed-off-by: Akinobu Mita
Cc: David Airlie
Cc: dri-devel@lists.freedesktop.org
---
drivers/gpu/drm/radeon/r600.c| 8 +---
drivers/gpu/drm/radeon/r600_cp.c | 7 +--
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/driver
Use hweight32 instead of counting for each bit
Signed-off-by: Akinobu Mita
Cc: David Airlie
Cc: dri-devel at lists.freedesktop.org
---
drivers/gpu/drm/radeon/r600.c| 8 +---
drivers/gpu/drm/radeon/r600_cp.c | 7 +--
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/dri