From patchwork Wed Aug 2 14:47:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 129872 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp517518vqx; Wed, 2 Aug 2023 08:00:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlF8BPD03hUVyvKW82ldvHXBTndATl8FG51MkoY6Qy/dlaHJHHWsBSAtZvW+z1U1zOCdVu8v X-Received: by 2002:a2e:9219:0:b0:2b6:a804:4cc with SMTP id k25-20020a2e9219000000b002b6a80404ccmr5140500ljg.53.1690988425622; Wed, 02 Aug 2023 08:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690988425; cv=none; d=google.com; s=arc-20160816; b=Kxhmdmgf5CgEMduy8EyktLMH7SVC9cqIugn5QD9aRl6Wsgv0zcJ1Q2m33wNPmenpXN lSX9csq07gDxsP/FeXdzY65WPdUn1SCsm6e4OKiiY3bmHKDrITj4AYG3UNZmD4mHxuSZ rl3DbgvprHWc+GmGFEu57BvjPVFRq+x0sUykCOxvhSHMM9pZHh2iN9nkjFKmZcFXFIPx yqjCPnH22eJoY7gFiJtgY4QIun3LBayx5jxTpwzexB87qe8iUn/jrMne4WgF/KOja5/t U1VVvG6i1SP4j9SzUFkBP6NTFdS5wf4N8BJMGSXuZyM4aLGqjMnRqX5la28E4qIf9h6b QQMA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VppVRXoXQvKZJkFtuRWaz8mbgEZARAeuezBGRcJyOiM=; fh=iWhePuVcMJKSbwMYol2sekoUTZVxQ4HJ4uCl2iMLH5k=; b=jr1R6+93dHbmqdhN35HFxASAgIX8k30hiut851JOGM7h7x33sFkXGWy4Nh7fWBV6gs SpL3wHtYVXTfdSxCOgG/u1hoWUVKe4WEJ1ujWZ/HUhf4cYi1Js/aneLh+UGgsf4gmFRw s6zNb4fckrcqMakTxcPwTt1w+Eb/dseZlS8jobjA9TNqi1cFYo4AKTO+g1/EHb6ScEH5 s29fswD4L3HQ8xWEwnJN//sOBkL2SVAEIIwm9vQG9xDlw0nbuypfEbdpXOvqY4y5JdH3 R1cUN+bGecVDoKZmJ6sxGMSczZC3Cxn8Ky6AmRtAztRQvzTEumay8s9lD+tHsoIVAUuk 7Naw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hFYWlhml; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a1709064c5300b0099bc7292ed0si9698582ejw.806.2023.08.02.07.59.57; Wed, 02 Aug 2023 08:00:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hFYWlhml; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234440AbjHBOsF (ORCPT + 99 others); Wed, 2 Aug 2023 10:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234554AbjHBOsC (ORCPT ); Wed, 2 Aug 2023 10:48:02 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E6FB19AD for ; Wed, 2 Aug 2023 07:48:00 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1bc02bd4eafso34359905ad.1 for ; Wed, 02 Aug 2023 07:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690987680; x=1691592480; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VppVRXoXQvKZJkFtuRWaz8mbgEZARAeuezBGRcJyOiM=; b=hFYWlhmljE/klwppV++NKW84d/Eesf+FCOvycpSLv1wwCQpDOYdQA/icP3xC4HHRIF 7Rvw1vD7plGgiNUFEdgMDG9B+49Prm8n3Uf6scoED+cjMOwuZHCogoPVhnADisSPHX3p HBDr52caGrX81FAcSeufVdwOc1PdpTXeZz/FI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690987680; x=1691592480; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VppVRXoXQvKZJkFtuRWaz8mbgEZARAeuezBGRcJyOiM=; b=frE435oPWJWzHIo+gRbt1xCwegsfPRbsV6Lens5GwUXe9plz5ddVnAcFkHlz7Spoky hmUCXKA/yJ2ne4MkrWNSYBTeUcIOQJunuKwjH9kkPghzvhfq3fIRHqwDC5Yh/MpTicts ECz3VntVs+jmZjCisMu9GBvNa89ilauiB7ldZ8tNBuqBItMYxA2ntfUZOQyiR0l1/RiK Veqgh5xY2ZewR7QLzgnOJwQ4jFD6RVfPzxnYd2dXyhZHZLJSdRXKyLe12J4N4IJt4AOL grOH64mcD5A5urm7h0HEW1Xoplb/+3EFzJX8t0TvPmFZc5Q2G+1x6bvf0BeVNkYieoEn 5sZw== X-Gm-Message-State: ABy/qLYNr9CDx0W8DcmZNfTWonqSBfTNG/wGkNqtUt/gjp1/e91xvL43 0sGdbA3xVJc/xrvGpefHzLOZKA== X-Received: by 2002:a17:902:ec82:b0:1bb:9c45:130f with SMTP id x2-20020a170902ec8200b001bb9c45130fmr19124197plg.69.1690987680161; Wed, 02 Aug 2023 07:48:00 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:6fae:ec4e:7f84:d593]) by smtp.gmail.com with ESMTPSA id b21-20020a170902d31500b001b89891bfc4sm12524139plc.199.2023.08.02.07.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 07:47:59 -0700 (PDT) From: Douglas Anderson To: dri-devel@lists.freedesktop.org, Maxime Ripard Cc: Daniel Vetter , Neil Armstrong , Stephen Rothwell , Linux Next Mailing List , Douglas Anderson , Daniel Vetter , David Airlie , Jonathan Corbet , Maarten Lankhorst , Thomas Zimmermann , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] drm/panel: Fix todo indentation for panel prepared/enabled cleanup Date: Wed, 2 Aug 2023 07:47:28 -0700 Message-ID: <20230802074727.2.Iaeb7b0f7951aee6b8c090364bbc87b1ae198a857@changeid> X-Mailer: git-send-email 2.41.0.585.gd2178a4bd4-goog In-Reply-To: <20230802074727.1.I4036706ad5e7f45e80d41b777164258e52079cd8@changeid> References: <20230802074727.1.I4036706ad5e7f45e80d41b777164258e52079cd8@changeid> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773129879087963227 X-GMAIL-MSGID: 1773129879087963227 In commit d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel") the formatting for a code block was not quite right. This caused an error when building htmldocs: Documentation/gpu/todo.rst:469: ERROR: Unexpected indentation. Fix the error by using the proper syntax for a code block. Fixes: d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/r/20230802141724.0edce253@canb.auug.org.au Signed-off-by: Douglas Anderson Reviewed-by: Neil Armstrong --- Documentation/gpu/todo.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index aa0052f9b93b..139980487ccf 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -465,7 +465,8 @@ Clean up checks for already prepared/enabled in panels In a whole pile of panel drivers, we have code to make the prepare/unprepare/enable/disable callbacks behave as no-ops if they've already -been called. To get some idea of the duplicated code, try: +been called. To get some idea of the duplicated code, try:: + git grep 'if.*>prepared' -- drivers/gpu/drm/panel git grep 'if.*>enabled' -- drivers/gpu/drm/panel