From: Ulrich Ölmann <u.oelmann@pengutronix.de>
Date: Fri, 4 Dec 2015 11:31:28 +0000 (+0100)
Subject: drm/panel: add kernel doc for size attributes in panel_desc
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85533e3b321f45f028aa1267afd8d156980957a9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git

drm/panel: add kernel doc for size attributes in panel_desc

Document that 'width' and 'height' are measured in millimeters.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index faa1c168a6e7..43a100c0b785 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -44,6 +44,10 @@ struct panel_desc {
 
 	unsigned int bpc;
 
+	/**
+	 * @width: width (in millimeters) of the panel's active display area
+	 * @height: height (in millimeters) of the panel's active display area
+	 */
 	struct {
 		unsigned int width;
 		unsigned int height;