[PATCH] drm/gma500: Fix spelling mistake "patter" -> "pattern"

From: Colin Ian King
Date: Thu Oct 13 2022 - 18:07:59 EST


There is a spelling mistake in a DRM_DEBUG_KMS message. Fix it.
Also clean checkpatch warning on the overly long line and remove
braces as the if statement is just one statement.

Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
---
drivers/gpu/drm/gma500/cdv_intel_dp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c
index 53b967282d6a..bf39728eb86f 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_dp.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c
@@ -1546,9 +1546,9 @@ cdv_intel_dp_start_link_train(struct gma_encoder *encoder)

}

- if (!clock_recovery) {
- DRM_DEBUG_KMS("failure in DP patter 1 training, train set %x\n", intel_dp->train_set[0]);
- }
+ if (!clock_recovery)
+ DRM_DEBUG_KMS("failure in DP pattern 1 training, train set %x\n",
+ intel_dp->train_set[0]);

intel_dp->DP = DP;
}
--
2.37.3