drm/panel: add kernel doc for size attributes in panel_desc
authorUlrich Ölmann <u.oelmann@pengutronix.de>
Fri, 4 Dec 2015 11:31:28 +0000 (12:31 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 16 Dec 2015 15:21:13 +0000 (16:21 +0100)
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>
drivers/gpu/drm/panel/panel-simple.c

index faa1c168a6e7dae749a05a7c8e4fc1b89a6be9d3..43a100c0b7850e18bbdc165cd8cb115aa07edc80 100644 (file)
@@ -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;