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: 13100134 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8B80DC54EBD for ; Fri, 13 Jan 2023 06:41:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C768B10E992; Fri, 13 Jan 2023 06:41:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id BA17810E992 for ; Fri, 13 Jan 2023 06:41:22 +0000 (UTC) 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Thompson , Lee Jones , Jingoo Han , Helge Deller , Randy Dunlap , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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