From 85533e3b321f45f028aa1267afd8d156980957a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20=C3=96lmann?= Date: Fri, 4 Dec 2015 12:31:28 +0100 Subject: [PATCH] drm/panel: add kernel doc for size attributes in panel_desc MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Document that 'width' and 'height' are measured in millimeters. Signed-off-by: Ulrich Ölmann Signed-off-by: Thierry Reding --- drivers/gpu/drm/panel/panel-simple.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1