From patchwork Fri May 28 09:06:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449487 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160141jac; Fri, 28 May 2021 02:06:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhdHUoFGwRkgZuLYbgn4vu+78M8D0AMZhFXMZppOL9TmpETJmL9e6JCBABHseBJ267S6yP X-Received: by 2002:a05:6402:2217:: with SMTP id cq23mr8619399edb.29.1622192814826; 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=g6lPCCZvd9Q1aCSUXxaf+MO1Eaorn+b9M47SMzNZGJ094IML5y7L2e3174ciF5xTg6 pjsOznPuGlHRpO6rrLKSIJtFXZmddxGBzgru9jygKhK3TtQeO7DhLuUpHYyNDuF2XQAb cT2LGZZLEAnYraGWfdM3q4sjdP9XV85kfpE5HchQWSDLf70nn5jMMtS41559AC2oJ5Yc idQ7+f3VDbM2F8JHrUlhfhDkdHuNl6DaTfg8A2alpwI9P3NnDQGCfuDoTKKznD6pInjT h1V89Z4Lp+f1YhaAj2jBhUmjOAetsiNaJtjxVJQ4uWhZcOm0uTwDYoq1YyTkfn5fPYzW NH6Q== 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=yCHwgdsgQ6fJQNC1IP1vbSWWrvc2ky/5/NAN71BbxeE=; b=09KIpetTnIf/pnoTXir6bwyXqbbnnPYvWaKVz8ebWCbuSwWC43uGnPTKlj9HW1ukc6 IZ8zlEfP8P2aU/AK8fWNOyemcef6ysmJ4Mygw68/K42WkJQtTfT5MECk1KWzShZwTAVX IPg8+xW9YePEwS492PhpyCxTIyWGaGoh6qln2WrtOTQUEGhvDJ9nWVMaAqhBuIfsGeYe uveqMtbAGb5YzDnVGTshhjUvb19AoJOYNdzqphNFUcHGieZRYPHH8nqHpXadyz2KhcTm mdgSZWzahhUyT46pkXaVFSTEMkleeUVvuUGteCvPuPMru/HXNpzcbc9dGwP71okUKZTR cVtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PG5t4BCU; 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=PG5t4BCU; 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 S236492AbhE1JI1 (ORCPT ); Fri, 28 May 2021 05:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236528AbhE1JIO (ORCPT ); Fri, 28 May 2021 05:08:14 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94118C061342 for ; Fri, 28 May 2021 02:06:36 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so1994481wmq.0 for ; Fri, 28 May 2021 02:06:36 -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=yCHwgdsgQ6fJQNC1IP1vbSWWrvc2ky/5/NAN71BbxeE=; b=PG5t4BCUUCZooJ+B3jhYXhsmN9ESA6HHKQ7dYImvqyNpS4TK5JYGjV8uPIJjAcZUB6 Z1OF0JP58MOJBdVS8ccjTb6NLQpUTTBBPppVoFhTF8iMIlqlflIXbN/mbzSSl+yRSha4 7/HGmym0jQn/uMk2ST2NDNGGCcI5suIHkdBE/jORz5P8NMOoLpt5QvQ3v0D5tFtnUAUA ue6n4vvDmpkRlQNbEVaYCVJBrxWAtIB//7yDgx2xdsvooR0ZUouAoOQFD4guyuRGPkuK kBpleCuybKvFmTzIEffaIEznno/uMEmQK2ECSQ6AR4Q4o9c/Vs1Jmjjn0wOK56wAMYfP xiAQ== 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=yCHwgdsgQ6fJQNC1IP1vbSWWrvc2ky/5/NAN71BbxeE=; b=Uh9ZWSTnl1wCIyubPGqhUyh2xMIhDyeNbVGQ6/tRr6eZVansrT75vBHyF/wDSS3Lpg Jaw7+36Bf7LUXJ+QEp9c3tYP54gZEOHuD3r7YcmC9zczoYUbCOJ0hEisTWpDI5+9xriX J6hT7oVa2Io0Xo6ed/he0P+tDkGIGpKNpJciUPGE66OI6Q59VostwFxf8mt7SytaPmQC h5FnLVuYkCVGnTGN0ZALmaIFkxeE75ecQ9tYoNKMVxuVT/ZedZT+b5v8Epq+1E1nB6ZN E4SdD3SkX2gYSLw73yQsMRq5JeUubYm9Fg5X96+nGorBVjtiQNkj0qvURQ5pJNE2qdxm L4uw== X-Gm-Message-State: AOAM533H5gW8iCnp2FlblPTsLmegjxnHSQaOzCJTKpqWwchX2Rrp9Do+ V/flAPkoHgY0Crxt5OG/Ioidngvyz/qi8w== X-Received: by 2002:a1c:6782:: with SMTP id b124mr12124040wmc.159.1622192795140; Fri, 28 May 2021 02:06:35 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:34 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , John Lenz , Richard Purdie , linux-leds@vger.kernel.org Subject: [PATCH 03/15] leds: led-class: Fix incorrectly documented param 'dev' Date: Fri, 28 May 2021 10:06:17 +0100 Message-Id: <20210528090629.1800173-4-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/led-class.c:521: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister' drivers/leds/led-class.c:521: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister' Cc: Pavel Machek Cc: John Lenz Cc: Richard Purdie Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/led-class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Alexander Dahl diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 2e495ff678562..16271a1de12a7 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c @@ -513,7 +513,7 @@ static int devm_led_classdev_match(struct device *dev, void *res, void *data) /** * devm_led_classdev_unregister() - resource managed led_classdev_unregister() - * @parent: The device to unregister. + * @dev: The device to unregister. * @led_cdev: the led_classdev structure for this device. */ void devm_led_classdev_unregister(struct device *dev,