summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_device.h
diff options
context:
space:
mode:
authorFrancois Dugast <francois.dugast@intel.com>2023-07-11 17:24:30 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:37:30 +0300
commit4cd6d492595fdcbb158def8b175ca1558363e742 (patch)
treeecfba5b55922e1dc2cb07f44d60e895e896b14b7 /drivers/gpu/drm/xe/xe_device.h
parent04194a4f780895799cf83c86d5bb8bc11560a536 (diff)
downloadlinux-4cd6d492595fdcbb158def8b175ca1558363e742.tar.xz
drm/xe: Cleanup SPACING style issues
Remove almost all existing style issues of type SPACING reported by checkpatch. Signed-off-by: Francois Dugast <francois.dugast@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_device.h')
-rw-r--r--drivers/gpu/drm/xe/xe_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h
index 8e01bbadb149..5c827beaea28 100644
--- a/drivers/gpu/drm/xe/xe_device.h
+++ b/drivers/gpu/drm/xe/xe_device.h
@@ -122,7 +122,7 @@ static inline void xe_device_guc_submission_disable(struct xe_device *xe)
#define for_each_tile(tile__, xe__, id__) \
for ((id__) = 0; (id__) < (xe__)->info.tile_count; (id__)++) \
- for_each_if ((tile__) = &(xe__)->tiles[(id__)])
+ for_each_if((tile__) = &(xe__)->tiles[(id__)])
/*
* FIXME: This only works for now since multi-tile and standalone media
@@ -130,7 +130,7 @@ static inline void xe_device_guc_submission_disable(struct xe_device *xe)
*/
#define for_each_gt(gt__, xe__, id__) \
for ((id__) = 0; (id__) < (xe__)->info.gt_count; (id__)++) \
- for_each_if ((gt__) = xe_device_get_gt((xe__), (id__)))
+ for_each_if((gt__) = xe_device_get_gt((xe__), (id__)))
static inline struct xe_force_wake * gt_to_fw(struct xe_gt *gt)
{