From patchwork Fri May 28 09:06:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449486 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160132jac; Fri, 28 May 2021 02:06:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrzH4uXnyo4LIkje47bwjZ+Z+oBi5p9cVS9ZRThLkhrJwlE1rNrf/FKh0MGIMzqR9S/8L6 X-Received: by 2002:a17:906:58d1:: with SMTP id e17mr8039670ejs.179.1622192814279; Fri, 28 May 2021 02:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192814; cv=none; d=google.com; s=arc-20160816; b=nuKv/O4j0qEp6ALj+ApDwpVI8j4xqw/nibo0Icm0dsTZ8qkJFVHYyOTnyGhPRRPpZO 3u0xL5JMGmWVAsOgurEhVYgZEsweGHmQvU8XPQxtY/18C2QGnQj97Q9DVa1TBx2tRACb G7P0ouJt2qZ3H1sf/p64llPTTR8Kc8midPsTLtmphFTS8NClsc+GiAYHrhcJ0S1wlQI8 LheQicDDJwdqtnJz162JHYK3231xjByXSVMjQavuOHaLsS4AoQlBhidJVmzN2JxtxfZ2 VXO6iEszIzBxGsX5pcQ7nipXjhmMmoElXrXx0Dr8a3Qa4hvQM6vOCT/82eaa3PFIwmw8 3n4g== 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=AwUDDxXVk1/gfDczqY3uBtnDj2zTQC8MabK5rngnn1I=; b=LQ7oj1wJHxoAuogYpPCsuIixxRiWuKSXMmjBXBO5yc+zHisYs0MD8HKy63VEmzOCE5 x2oTyBW5vmZgOeg4im/TzzK7IPc36HwFBtnUGw71tsM0EVD8io73Y/reIEKA2vfHl9R0 fuHgg7xZz7jRB8RbPEGTeIbr/sVxorUBpQElU8Gbmrcto0gTkUCs15PBH/yXdWXjohnb QvcRmF2+//znaK7n/13AJ5prPGR1Rcz6T4xJMbezmhdUaWiHwo6+RonHJJs5jUVvGwt+ AlJqTENRT7RM65Ih/PrOY78KWm1QamjrLsWFudQn92AWD3Gz1QxtnnaS+7wEpLNJyxI+ myFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IdLYAQEv; 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 f14si4050097edv.149.2021.05.28.02.06.54 for ; Fri, 28 May 2021 02:06:54 -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=IdLYAQEv; 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 S236485AbhE1JI0 (ORCPT ); Fri, 28 May 2021 05:08:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236534AbhE1JIO (ORCPT ); Fri, 28 May 2021 05:08:14 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0DD6C06138C for ; Fri, 28 May 2021 02:06:34 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 16so1685939wmj.5 for ; Fri, 28 May 2021 02:06:34 -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=AwUDDxXVk1/gfDczqY3uBtnDj2zTQC8MabK5rngnn1I=; b=IdLYAQEvPjiSqARIkd2bfyj/4gzG9Rv0Ht9kAoSHv1+cd7EzRWoFI/hs7JyjW4d8ri mTSGCjR62DB1lu96PAB3z6tPwVyqpiKnJy6nKPhT7NSeu5mptDh7EFQAHiwVO6i2FmxW APi7eB67/KdW+WNuQtBUa8Vuo4TVH9mJdvEayvA7H4sX0CexbMBLJIgpTLE3ah7OTxgH NHHi9CF1dSaZeZcYM6kljQ067t9fIVaeBF3ggkk5umiHyHmgDER+yjiTHd/G0N5X6C0B oEHJOczHcw87oig8cfOyies7kjIjsNZzs71GkqhLoj2deOmY7wpPI2o67zMJJSWvzlSq shug== 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=AwUDDxXVk1/gfDczqY3uBtnDj2zTQC8MabK5rngnn1I=; b=JoMa1hDUYmK5aggkGqqDDguClf0OKho4U2U9TSGYbi7oJjMJMLS6+6UL4Nky++adSO v8REZBaQKSBR3BKWp/H+9MvB7SYknQFfwxAbuBUt2YWumuXn878AWH6WGGmhZdQfssch o6M0aRRAorgrrmh5bsWQtqTmNrxsOQQpqFCeCEG+4pFcGZOb+Ftb0G/St3ydx1sP94zC HOK/oR8DyP1o3WR66yl/EgTX+NUYW6AvbQlXPiQtAOIKOZerYgZggB2GCL5nPntogHSX 1/3Ub1S1zGUFywvEDwncSHxLj+8HlEQtlEZfHytflouVP3N6yKDhyZWJYMagpT7Pldgr LJKg== X-Gm-Message-State: AOAM532inPmv6Chvvws0zPIx9szyddxkwHHns6FtBbC5zTMtIhbYLch8 4cDhAd6nnBBAqUws+Qi9+H0zlA== X-Received: by 2002:a7b:c1d3:: with SMTP id a19mr7387681wmj.104.1622192793244; Fri, 28 May 2021 02:06:33 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:32 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Linus Walleij , Bryan Wu , linux-leds@vger.kernel.org Subject: [PATCH 01/15] leds: trigger: ledtrig-cpu: Fix incorrectly documented param 'ledevt' Date: Fri, 28 May 2021 10:06:15 +0100 Message-Id: <20210528090629.1800173-2-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/trigger/ledtrig-cpu.c:52: warning: Function parameter or member 'ledevt' not described in 'ledtrig_cpu' drivers/leds/trigger/ledtrig-cpu.c:52: warning: Excess function parameter 'evt' description in 'ledtrig_cpu' Cc: Pavel Machek Cc: Linus Walleij Cc: Bryan Wu Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/trigger/ledtrig-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Alexander Dahl diff --git a/drivers/leds/trigger/ledtrig-cpu.c b/drivers/leds/trigger/ledtrig-cpu.c index fca62d5035909..8af4f9bb9cde8 100644 --- a/drivers/leds/trigger/ledtrig-cpu.c +++ b/drivers/leds/trigger/ledtrig-cpu.c @@ -43,7 +43,7 @@ static atomic_t num_active_cpus = ATOMIC_INIT(0); /** * ledtrig_cpu - emit a CPU event as a trigger - * @evt: CPU event to be emitted + * @ledevt: CPU event to be emitted * * Emit a CPU event on a CPU core, which will trigger a * bound LED to turn on or turn off.