diff options
author | 2023-01-15 12:46:43 +0530 | |
---|---|---|
committer | 2023-01-17 16:11:51 -0500 | |
commit | 4e1855026685a12331cfca3b5002a8133dc82a45 (patch) | |
tree | 8bf31d77968e51a60eedad792b051dac27dfe5c8 /lib/pm-notifier-error-inject.c | |
parent | drm/amdgpu/pm: update hwmon power documentation (diff) | |
download | linux-rng-4e1855026685a12331cfca3b5002a8133dc82a45.tar.xz linux-rng-4e1855026685a12331cfca3b5002a8133dc82a45.zip |
drm/amd/pm/powerplay/smumgr: use bitwise or for addition
For bit mask addition, it is recommended to use or operator "|" instead
of numerical addition as the former is quicker and cleaner. Change
suggested by orplus.cocci Coccinelle semantic patch.
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions