diff mbox series

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

Message ID 20221013220750.127243-1-colin.i.king@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm/gma500: Fix spelling mistake "patter" -> "pattern" | expand

Commit Message

Colin Ian King Oct. 13, 2022, 10:07 p.m. UTC
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@gmail.com>
---
 drivers/gpu/drm/gma500/cdv_intel_dp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

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;
 }