Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp355669pxu; Tue, 1 Dec 2020 13:02:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjTVLDt6gngPuiTVzQm+RMJHWQHSDmnELvL4B9gZbMPec4ohqiBbpvh8hL+n5AJU1XDpLK X-Received: by 2002:a17:906:614a:: with SMTP id p10mr4964048ejl.312.1606856530224; Tue, 01 Dec 2020 13:02:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606856530; cv=none; d=google.com; s=arc-20160816; b=ChwOSwQnUuHWg3cIUyTbOEhQpMd69R1DHu0xdpIttZ28tj65hUahE4zUjbYg8c2ImE pW4H/jLg96uP4RS9GIShaqrKTFMDhAWxOza4ukt7khkZZkIxJPJgldNFlopXAavDEV3I 7jKgYY8Tu80TuoC6zHIhfyatvectqarOdt+LZWUNy92JBDXhQpjx4baEt6gVevbS3Lj8 uBzmolf1YEDyDaqWMfEgzJQ5O0f2uNaA5aFPin53GcUPohd/KkA8Q0TunmoO8WOUeQka +gAGqvH4aR4kp52e7MvcPk1bwbpGvQaQtjNKeH2oZEP8UfSljru2ya6xAb5ESj9QI9cM jhkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/xp92MbdfOGxMs34FhXWWhWMRKc9mfpWP3SeaYIWAuM=; b=0FeZ/Q0R6tWXvxRM+88HbtMJpwKz+ki5clNVIS57r6MDOLTQrF8ChUGuW+ZdsazWvu 26my3Gy8JzfiPQhNe6KhhCK897CID4apfd14awGOKnczDPU93X2zX/OXoP/NYzRCVSyr kcwpw4PD5ep0e5XhbaK2UeWZW5fua+XhvGLeKjIpr9/VjrVQn8K+r/xjgl805tr9Hzx2 t3q9vBReQOByXER6mgmMh82c3kSj2JWum0P/Zr2/3jMo60f/Em/pqFcBR0B/INafkeAE KJzXUf9XLfuWF/Fup8Q3AaVv5aY8QsQ0bcYFqdznhn83QDD+yl9nizeDHuAfvk67UqNB AjTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cgNgwFqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si643645ejm.641.2020.12.01.13.01.45; Tue, 01 Dec 2020 13:02:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cgNgwFqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727895AbgLAVAI (ORCPT + 99 others); Tue, 1 Dec 2020 16:00:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725971AbgLAVAI (ORCPT ); Tue, 1 Dec 2020 16:00:08 -0500 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30B04C0613CF for ; Tue, 1 Dec 2020 12:59:28 -0800 (PST) Received: by mail-pj1-x1041.google.com with SMTP id o7so954617pjj.2 for ; Tue, 01 Dec 2020 12:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/xp92MbdfOGxMs34FhXWWhWMRKc9mfpWP3SeaYIWAuM=; b=cgNgwFqoY+WBXtcw/+ew5EzVBnDdN6R4Ad53YGqxtRpnzmYTS/jZJN0cC5wbb1OfFp C1oVQk708EoNM1af2naJuj4PoE2oUGg7I63e+jBEKvZltn6FvfeHsikNCiLPpkuhjoR9 BL7mbc3B0S/RQoS/M8t/qDsTgdTIudWtp36GU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/xp92MbdfOGxMs34FhXWWhWMRKc9mfpWP3SeaYIWAuM=; b=JPBybzhn7Y7e+HKsX5ebtSnoWvoTrmtq19ZjBt1GBUQMTJFDrSYwNYxinQtxyQkbdL FxD1toM6BOtBaaVjcedRqyxNcMBkfo6K0elIH/N340kFbe9tyoctYIQ40D8O3Ec9bJkt wyoq1QUbjRqNsd4DzVw43XoENhIGFFADARtzklfS3Ih/xafZhVzHi5fS3Wb0uCeNH+sc 7X+axOM68ulrHeMss67Rh4WC+GJAWLU5uHoCoa1cq4V7SQjgR3jQpAk/AlMXLBLMGBlN TIcAESKXQjArtGYL6p3vUXJ8vc5xf6AHkaGtukiXV9aLHdZsbzEzrn2n5UPq4HC4hKte O6+w== X-Gm-Message-State: AOAM532+xqDQlDSI3m0EqTDV2YNHy5cWue42RbbEbggKetJWcB21htkV +oOd+Qaif5EE7w1h0l0bMBeKug== X-Received: by 2002:a17:902:b498:b029:da:84a7:be94 with SMTP id y24-20020a170902b498b02900da84a7be94mr4661967plr.52.1606856367675; Tue, 01 Dec 2020 12:59:27 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:42b0:34ff:fe3d:58e6]) by smtp.gmail.com with ESMTPSA id m9sm629385pfh.94.2020.12.01.12.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 12:59:27 -0800 (PST) From: Douglas Anderson To: Thierry Reding , Sam Ravnborg Cc: Douglas Anderson , dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie , linux-kernel@vger.kernel.org Subject: [PATCH] drm: panel: Fully transition panel_desc kerneldoc to inline style Date: Tue, 1 Dec 2020 12:59:12 -0800 Message-Id: <20201201125822.1.I3c4191336014bd57364309439e56f600c94bb12b@changeid> X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In commit 131f909ad55f ("drm: panel: simple: Fixup the struct panel_desc kernel doc") I transitioned the more deeply nested kerneldoc comments into the inline style. Apparently it is desirable to continue the job and move _everything_ in this struct to inline. Let's do it. While doing this, we also add a short summary for the whole struct to fix a warning when we run with extra warnings, AKA: scripts/kernel-doc -v -rst drivers/gpu/drm/panel/panel-simple.c The warning was: drivers/gpu/drm/panel/panel-simple.c:42: warning: missing initial short description on line: * struct panel_desc Suggested-by: Sam Ravnborg Signed-off-by: Douglas Anderson Cc: Douglas Anderson Cc: Sam Ravnborg Cc: Thierry Reding Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/panel/panel-simple.c | 43 +++++++++++++++++----------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 216cde33b5c4..33d53abdb1fb 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -39,31 +39,36 @@ #include /** - * struct panel_desc - * @modes: Pointer to array of fixed modes appropriate for this panel. If - * only one mode then this can just be the address of this the mode. - * NOTE: cannot be used with "timings" and also if this is specified - * then you cannot override the mode in the device tree. - * @num_modes: Number of elements in modes array. - * @timings: Pointer to array of display timings. NOTE: cannot be used with - * "modes" and also these will be used to validate a device tree - * override if one is present. - * @num_timings: Number of elements in timings array. - * @bpc: Bits per color. - * @size: Structure containing the physical size of this panel. - * @delay: Structure containing various delay values for this panel. - * @bus_format: See MEDIA_BUS_FMT_... defines. - * @bus_flags: See DRM_BUS_FLAG_... defines. - * @connector_type: LVDS, eDP, DSI, DPI, etc. + * struct panel_desc - Describes a simple panel. */ struct panel_desc { + /** + * @modes: Pointer to array of fixed modes appropriate for this panel. + * + * If only one mode then this can just be the address of this the mode. + * NOTE: cannot be used with "timings" and also if this is specified + * then you cannot override the mode in the device tree. + */ const struct drm_display_mode *modes; + + /** @num_modes: Number of elements in modes array. */ unsigned int num_modes; + + /** + * @timings: Pointer to array of display timings + * + * NOTE: cannot be used with "modes" and also these will be used to + * validate a device tree override if one is present. + */ const struct display_timing *timings; + + /** @num_timings: Number of elements in timings array. */ unsigned int num_timings; + /** @bpc: Bits per color. */ unsigned int bpc; + /** @size: Structure containing the physical size of this panel. */ struct { /** * @size.width: Width (in mm) of the active display area. @@ -76,6 +81,7 @@ struct panel_desc { unsigned int height; } size; + /** @delay: Structure containing various delay values for this panel. */ struct { /** * @delay.prepare: Time for the panel to become ready. @@ -154,8 +160,13 @@ struct panel_desc { unsigned int unprepare; } delay; + /** @bus_format: See MEDIA_BUS_FMT_... defines. */ u32 bus_format; + + /** @bus_flags: See DRM_BUS_FLAG_... defines. */ u32 bus_flags; + + /** @connector_type: LVDS, eDP, DSI, DPI, etc. */ int connector_type; }; -- 2.29.2.454.gaff20da3a2-goog