From patchwork Fri Jan 13 06:41:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 43026 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp122500wrt; Thu, 12 Jan 2023 22:59:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXuDdv2p2ayz5Ky7dqnQN06aG+tycSF2LZfPpoovwIpzkjBzPaDCEEaXNSJ/e/V4pXoRR30r X-Received: by 2002:aa7:d393:0:b0:490:47c3:3d78 with SMTP id x19-20020aa7d393000000b0049047c33d78mr28528779edq.1.1673593180765; Thu, 12 Jan 2023 22:59:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673593180; cv=none; d=google.com; s=arc-20160816; b=f9fyRmXzHY0J0TD26G8pljvgVxphLB7+iXWoRwqfe07MSV3W9yKjg8Xoovez2Nc/it tQ0KAJNJzvosZ/WMhcnf+VaGTkCHfU9vv+lgGvnt76tQAXxLA3EXw6sVsANKjQRRvD+Y PI4TOlTOAPsUjtpzzrl3QjTCzogSczlFrtXkbmrFOBLcz7jvqwZzlxpKlLIjaoPrTFKV N09Vb/rwEYlUMh5v2XscbHOhiS4mY4pReyp+oNKtsCJN82/DDg1DD/y3ZI/uOhXeWVcC MU42f4FyHxaIyuymh5uUM718c1pBY4dGDfiz5YkCe+hz8XDYjcqSbJqXNGu8RGrchRCk hrJA== 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=v/GT59MkBIStouZ5bA5ISsCi2iWAi8szvTx0tj4+hnE=; b=AsOCkxH/96DjyCu7m8mtbvwSLSAb2PJMNhYE0oHt3oYIEBNFm3Of/UT9s6y1smhm1h h6zk3lvPsflDU8o5fo8wvg2V2YR660SMtxuYsl6V1nkVBZd/pPEqvieIfctWAC7n7j57 qsw8S8CRBtsuPj3GHnbNMZrVKB/uwgMrr7Dqta759JzleGSK1G4O5x9fhktthAbuz3xq McA4IL53bSnra+3o8IcygmI7aFZbYJuPW3dYZZTCs68L8sUyuuz4Nuzvfvj73NExv3BY C9c7i6xXd7LWrUGNTb9nLGIWgjWseXORuOBh0EXxul/nc76ghrhsh70keZ3ExQ3Rt4Sl 01Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=u46K34HS; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a056402039900b00485732f1604si18257184edv.347.2023.01.12.22.59.17; Thu, 12 Jan 2023 22:59:40 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=u46K34HS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240798AbjAMG6K (ORCPT + 99 others); Fri, 13 Jan 2023 01:58:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240731AbjAMG4Q (ORCPT ); Fri, 13 Jan 2023 01:56:16 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D0B1714BC; Thu, 12 Jan 2023 22:41:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=v/GT59MkBIStouZ5bA5ISsCi2iWAi8szvTx0tj4+hnE=; b=u46K34HSQykmz5ADBnh7XhiyLl CHm6l4VLByZQ7/AFNniSg7YA/7YYjApUmgoePYCPHUzAOt42W5p2Za5CgxiLQFit+nF/Qk1nYxCAV v3QvD7SB8GcNrGIzMVdQwI1fhcAbHHw9jV9WnxqExJL5T12sH0cQamk2QJjcDlShsQNFpxGwuJkF2 nZKMGKJh5vzdTO1nCHPeclhsqMCKyd20eMXnSfXdDORoqSHfw4WhZWuae21MmlBt+a75qRhGkz63H 6xkLIKaiBeP0/NfICbbxStr6D7fl0mecpLCq4zPIMMOwJsJOJYgp35YdwRiGvXnM+2iUP9unSiJzJ yhwwe1Hg==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGDkd-000qs4-Kc; Fri, 13 Jan 2023 06:41:19 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: [PATCH] backlight: sky81452: fix sky81452_bl_platform_data kernel-doc Date: Thu, 12 Jan 2023 22:41:18 -0800 Message-Id: <20230113064118.30169-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754889643478135637?= X-GMAIL-MSGID: =?utf-8?q?1754889643478135637?= Correct the struct name and add a short struct description to fix the kernel-doc notation. Prevents this kernel-doc warning: drivers/video/backlight/sky81452-backlight.c:64: warning: expecting prototype for struct sky81452_platform_data. Prototype was for struct sky81452_bl_platform_data instead Signed-off-by: Randy Dunlap Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han Cc: Helge Deller Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Reviewed-by: Daniel Thompson --- drivers/video/backlight/sky81452-backlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/video/backlight/sky81452-backlight.c b/drivers/video/backlight/sky81452-backlight.c --- a/drivers/video/backlight/sky81452-backlight.c +++ b/drivers/video/backlight/sky81452-backlight.c @@ -41,7 +41,7 @@ #define SKY81452_MAX_BRIGHTNESS (SKY81452_CS + 1) /** - * struct sky81452_platform_data + * struct sky81452_bl_platform_data - backlight platform data * @name: backlight driver name. * If it is not defined, default name is lcd-backlight. * @gpiod_enable:GPIO descriptor which control EN pin