From patchwork Fri May 28 09:06:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449500 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160398jac; Fri, 28 May 2021 02:07:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSh9v9DTfmfrQpmGZU9NGIo0VXSJUMa2SPAyulph5tcW/yYQ/echNzB0ECPEcvBAF9EPYz X-Received: by 2002:a05:6402:128f:: with SMTP id w15mr8807299edv.354.1622192836441; Fri, 28 May 2021 02:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192836; cv=none; d=google.com; s=arc-20160816; b=j+ALHUSo09zzENdEIarXw5gME3o+lGYdBTl8znXGB5egWULFCzC/iUiHqoGC7heOcy KPB4InUijHvODLkiBZPEzKee6qSqPBhaO22lo84g87AycmR9aQhbubWesXEch+5tyDW7 EX7qGWtD0JVwkupaNMmD3ZSHgmWD6UlVZB2poNywefIMIEVAcMmTU8Nos8tNriyDjPnP NdW+9uDFypqOg2Mtk4sGk0tf/7oCjdpvfxDBK1EWr6qbWv9iYlJ/W6dEL69hBncoUez7 4cw4tEjv/r4i9vMXBpmcRYl1X1ZtSs88XpINfmcGL+kKGcIV+Jde7xXFz8f05WptXZrd /WjQ== 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=Yz5xumMTCw+/Q8kLm3VGuNA+QWFDXuFwV3AKtQecOD4=; b=ErwRtKYo+doGtImTngXmkre8sQSzSmi9+ybbYj7Piyf+SWOEdPAHc8EK9lpEJ3iKuF zJioT4NXoJZM2vsUtMEaahL2YralMiuYnZ+5bovMW9AJHjvk8t+/lPSJKH9qM/8DXGZQ 8acikcZNQQ4YPeq0I6ampBIP5etwOcXVlPA8jDAyDJC4rHcXeABmlDGyuHr8y6rjm6wJ jA76f7SIK/dJN3BOGRYbO/l8yTS7fPKNTeFVKWbC/ZvNGUR+/xKk98sNMEnMtAvTigBe 6jjzJWso5CXfK1sg+O6p8hdqaYRFJJNu8V5rTjZKy1kk69lMr5STTQP3Mtlz1fStG1bQ ixjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlZPXHRz; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn17si4470424edb.73.2021.05.28.02.07.16 for ; Fri, 28 May 2021 02:07:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=@linaro.org header.s=google header.b=VlZPXHRz; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235933AbhE1JIq (ORCPT ); Fri, 28 May 2021 05:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236534AbhE1JI3 (ORCPT ); Fri, 28 May 2021 05:08:29 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65D8FC061357 for ; Fri, 28 May 2021 02:06:48 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id f11so2567481wrq.1 for ; Fri, 28 May 2021 02:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Yz5xumMTCw+/Q8kLm3VGuNA+QWFDXuFwV3AKtQecOD4=; b=VlZPXHRz4mtUhK6EFAdV4cWfZhD1/6wXL+y251g6u2COSh/oiPC4DQiCD/nwzw81LX /EtOdips5rXPlzhb4CRe8t2MQ3iMFRkBLxqyFyk5ZjmQunm/kAXuTmlJPRFTIqnTZAoa niQ+p6NjzsVaARmkozu2pH09Dvf46zJLwjhLHmLLsVSSyZRC46nY6M9b0IFpnvglxNul ricmhsmUKdP+cOTQQVxg+qSaupqCcwugeGwSUDTeR50Ewbi9oWBq4UP/nBiT/JF7V7w/ N21/G6HaBJ+6hT9qwHg8f32sBiwmkIGSpj3WTONGK1qwIHrgfbTpQSLNgsnC6jEQOYiz ssbQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Yz5xumMTCw+/Q8kLm3VGuNA+QWFDXuFwV3AKtQecOD4=; b=JQcwCYSwtgOffZpb0r5zlZdkmSKcLUQpDq/tQ30ONnX2UuPsNrgX15bCJdgucOuFIV t8542pf+LNjtFaK9wdXMdZmKAoYxeE7vggWHi9o3COMTqEVznNb/mFeljAZona2m+u54 kCtYkGXpq6bdbDLRYFlEzk462XzHe119R6H8g2YjFPkSc7r/RWJmphrhJyPOZc56hoop YuVwpHDgGTPpMUyyvTc5ZpeiIY6DW1kM/Lf7VjgtZFE43O0fmC/MDvbFCQ8MOySxNzMR ibJyEFlpJjG+u3B3WgVS7qJbWgU1M1Ng76Jd5NILiZFbNp+p3d3HwMRkbG5RhvZFzAAr I9oQ== X-Gm-Message-State: AOAM533Bu0ISrpbHUPBzRy/KzSFh0pZQ/7NaMGGRpwpkc6dit/ktcVw+ oCetFOGTx9bdH32n/uDdV6v7PA== X-Received: by 2002:a5d:490d:: with SMTP id x13mr7608915wrq.49.1622192807017; Fri, 28 May 2021 02:06:47 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:46 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vadim Pasternak , Pavel Machek , linux-leds@vger.kernel.org Subject: [PATCH 15/15] leds: leds-mlxcpld: Fix a bunch of kernel-doc formatting issues Date: Fri, 28 May 2021 10:06:29 +0100 Message-Id: <20210528090629.1800173-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-mlxcpld.c:72: warning: cannot understand function prototype: 'struct mlxcpld_param ' drivers/leds/leds-mlxcpld.c:83: warning: cannot understand function prototype: 'struct mlxcpld_led_priv ' drivers/leds/leds-mlxcpld.c:98: warning: cannot understand function prototype: 'struct mlxcpld_led_profile ' drivers/leds/leds-mlxcpld.c:114: warning: cannot understand function prototype: 'struct mlxcpld_led_pdata ' Cc: Vadim Pasternak Cc: Pavel Machek Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-mlxcpld.c | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) -- 2.31.1 diff --git a/drivers/leds/leds-mlxcpld.c b/drivers/leds/leds-mlxcpld.c index f4721f8065f0f..1355c84a2919b 100644 --- a/drivers/leds/leds-mlxcpld.c +++ b/drivers/leds/leds-mlxcpld.c @@ -64,10 +64,10 @@ #define MLXCPLD_LED_BLINK_6HZ 83 /* ~83 msec off/on */ /** - * mlxcpld_param - LED access parameters: - * @offset - offset for LED access in CPLD device - * @mask - mask for LED access in CPLD device - * @base_color - base color code for LED + * struct mlxcpld_param - LED access parameters: + * @offset: offset for LED access in CPLD device + * @mask: mask for LED access in CPLD device + * @base_color: base color code for LED **/ struct mlxcpld_param { u8 offset; @@ -76,9 +76,9 @@ struct mlxcpld_param { }; /** - * mlxcpld_led_priv - LED private data: - * @cled - LED class device instance - * @param - LED CPLD access parameters + * struct mlxcpld_led_priv - LED private data: + * @cled: LED class device instance + * @param: LED CPLD access parameters **/ struct mlxcpld_led_priv { struct led_classdev cdev; @@ -88,12 +88,12 @@ struct mlxcpld_led_priv { #define cdev_to_priv(c) container_of(c, struct mlxcpld_led_priv, cdev) /** - * mlxcpld_led_profile - system LED profile (defined per system class): - * @offset - offset for LED access in CPLD device - * @mask - mask for LED access in CPLD device - * @base_color - base color code - * @brightness - default brightness setting (on/off) - * @name - LED name + * struct mlxcpld_led_profile - system LED profile (defined per system class): + * @offset: offset for LED access in CPLD device + * @mask: mask for LED access in CPLD device + * @base_color: base color code + * @brightness: default brightness setting (on/off) + * @name: LED name **/ struct mlxcpld_led_profile { u8 offset; @@ -104,12 +104,12 @@ struct mlxcpld_led_profile { }; /** - * mlxcpld_led_pdata - system LED private data - * @pdev - platform device pointer - * @pled - LED class device instance - * @profile - system configuration profile - * @num_led_instances - number of LED instances - * @lock - device access lock + * struct mlxcpld_led_pdata - system LED private data + * @pdev: platform device pointer + * @pled: LED class device instance + * @profile: system configuration profile + * @num_led_instances: number of LED instances + * @lock: device access lock **/ struct mlxcpld_led_pdata { struct platform_device *pdev;