drm/amd/pm/swsmu: clean up user profile function
authorArunpravin <Arunpravin.PaneerSelvam@amd.com>
Mon, 1 Mar 2021 10:15:13 +0000 (15:45 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Mar 2021 20:10:43 +0000 (15:10 -0500)
commitd8cce9306801cfbf709055677f7896905094ff95
tree7024805ccaf78b04aa917f05129b41328840bc62
parent4215a11923362ec53e85dfe25160beeebf41fd2c
drm/amd/pm/swsmu: clean up user profile function

Remove unnecessary comments, enable restore mode using
'|=' operator, fixes the alignment to improve the code
readability.

v2: Move all restoration flag check to bitwise '&' operator

Signed-off-by: Arunpravin <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c