Skip to contentSkip to conversation

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

PATCH New Colin Ian King 1 participant 1 message Oct 13, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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

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.

---
 drivers/gpu/drm/gma500/cdv_intel_dp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/gma500/cdv_intel_dp.c +3 -3
index 53b967282d6a..bf39728eb86f 100644
@@ -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;
 }
Signature · 1 line
2.37.3