From: Francois Dugast Date: Tue, 11 Jul 2023 14:58:20 +0000 (+0200) Subject: drm/xe: Cleanup OPEN_BRACE style issues X-Git-Tag: v6.8-rc1~21^2~13^2~545 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fb1d55efdfcbfd8711f7b8db65267f370fa0e49b;p=linux-block.git drm/xe: Cleanup OPEN_BRACE style issues Remove almost all existing style issues of type OPEN_BRACE reported by checkpatch. Signed-off-by: Francois Dugast Reviewed-by: Matthew Brost Reviewed-by: Rodrigo Vivi Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_gt_mcr.c b/drivers/gpu/drm/xe/xe_gt_mcr.c index 3db550c85e32..ff4075387564 100644 --- a/drivers/gpu/drm/xe/xe_gt_mcr.c +++ b/drivers/gpu/drm/xe/xe_gt_mcr.c @@ -429,7 +429,8 @@ static void mcr_lock(struct xe_gt *gt) drm_WARN_ON_ONCE(&xe->drm, ret == -ETIMEDOUT); } -static void mcr_unlock(struct xe_gt *gt) { +static void mcr_unlock(struct xe_gt *gt) +{ /* Release hardware semaphore */ if (GRAPHICS_VERx100(gt_to_xe(gt)) >= 1270) xe_mmio_write32(gt, STEER_SEMAPHORE, 0x1);