[PATCH 6/9] drm/i915/dp: fix style issues in DP test debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Apply some style fixes on top of the previous code movement.

Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 drivers/gpu/drm/i915/display/intel_dp_test.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp_test.c b/drivers/gpu/drm/i915/display/intel_dp_test.c
index 7a9b0ad161d6..f086f6854bf0 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_test.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_test.c
@@ -594,8 +594,9 @@ static int i915_displayport_test_active_show(struct seq_file *m, void *data)
 				seq_puts(m, "1");
 			else
 				seq_puts(m, "0");
-		} else
+		} else {
 			seq_puts(m, "0");
+		}
 	}
 	drm_connector_list_iter_end(&conn_iter);
 
@@ -662,8 +663,9 @@ static int i915_displayport_test_data_show(struct seq_file *m, void *data)
 				seq_printf(m, "level: %02x\n",
 					   intel_dp->train_set[0]);
 			}
-		} else
+		} else {
 			seq_puts(m, "0");
+		}
 	}
 	drm_connector_list_iter_end(&conn_iter);
 
@@ -693,8 +695,9 @@ static int i915_displayport_test_type_show(struct seq_file *m, void *data)
 		if (encoder && connector->status == connector_status_connected) {
 			intel_dp = enc_to_intel_dp(encoder);
 			seq_printf(m, "%02lx\n", intel_dp->compliance.test_type);
-		} else
+		} else {
 			seq_puts(m, "0");
+		}
 	}
 	drm_connector_list_iter_end(&conn_iter);
 
-- 
2.39.2




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux