diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-07-21 13:15:41 +0530 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-25 13:36:00 -0400 |
| commit | b25b3599264eec4f0af879f7e3b22c1cf38d0562 (patch) | |
| tree | 7fa6a37a7953769b313e89fca8cda914a0d067eb /tools/perf/scripts/python/bin | |
| parent | 7a1c5c6753858cbbf0b073eaa9b53d8f56ee0927 (diff) | |
drm/amdgpu: Prefer #if IS_ENABLED over #if defined in amdgpu_drv.c
Adhere to linux coding style
Fixes the following:
WARNING: Prefer IS_ENABLED(<FOO>) to CONFIG_<FOO> || CONFIG_<FOO>_MODULE
+#if defined(CONFIG_DRM_RADEON) || defined(CONFIG_DRM_RADEON_MODULE)
WARNING: Prefer IS_ENABLED(<FOO>) to CONFIG_<FOO> || CONFIG_<FOO>_MODULE
+#if defined(CONFIG_DRM_RADEON) || defined(CONFIG_DRM_RADEON_MODULE)
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions