From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D583C4708E for ; Fri, 28 May 2021 09:06:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1B07B6113D for ; Fri, 28 May 2021 09:06:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234703AbhE1JI3 (ORCPT ); Fri, 28 May 2021 05:08:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236570AbhE1JIO (ORCPT ); Fri, 28 May 2021 05:08:14 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BE81C06138E for ; Fri, 28 May 2021 02:06:35 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id l18-20020a1c79120000b0290181c444b2d0so1948053wme.5 for ; Fri, 28 May 2021 02:06:35 -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=Xy+teow2EA1aY3LFpYUkd6V1bBiGK9r/LOeL5mAnek0=; b=wKiM1Mks171OZR7VXl51gMpR92TKJuOplvHoegprgOUV8NZ3fvfdxnZbiwLrSfFQ6k dJpW1tjOZjrvHUPeF6OAAVjikjqyBdBciXBAJcGIuAsh0eiaqAsikf5y0om3YmLJvLVa loCi49V6OclzpetmrwUpHBGpjZ4wcbjBnhSFHm4M5S3WmiOb+sI+NPGHa3VIEN6kC81X MLO/yq43NDiVTEgsPNATX+JQWLYRFOdWpAiJzCAvtD1o3zVJFQsxI48dJLv8eMWD3RSg rfkwl9B8iwfkaEkaP3f395UpVNT4LihHpW5kHyLpS1tT3/73gNWmdPg15E85IhBJiCSL jKDQ== 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=Xy+teow2EA1aY3LFpYUkd6V1bBiGK9r/LOeL5mAnek0=; b=KMPVQJU5BxKgWAk4U/tWhR93PVNIyAoiWviz/J1qGC2qHOZbbUfF+cJB2kIYmHv1Bw IBPoJqvWGmFaXkttbC92VHaAy0rmWopGDBsKJ69AcgOccUiI5rp+F7UHhLoB/Sv9NQAu N5BAC3uwd5MWI5VofzyXnCTbRpW2qU0xAZYkwMvzVYcUDF/CkNlJivPWkJi534JF3tSF TseQxcGCQV5+y888VmJP7WXaT9RnutFNnHsZxTUH13RwiMWYCpswNCJ0kBEqR6Q4y6Pp tplfvPy+IIHnGaOJWX07NcSZXKResg4g2JIj+X8rv7JiRIwW5kq6W7RVB8H6KAaxDi4P gUEA== X-Gm-Message-State: AOAM531ZucVBNsuvo8xSWOU3o9W3ijG+wQ6I/v+yzhj0qOOTMD2OMZus k4Vfp6Q1eGKGntqyXfr/pkjLXA== X-Google-Smtp-Source: ABdhPJxLcIhNp/h0ipNq9LfbyfZxWzXUNpfrSBFsLn9+Kaw6L6f0B9lKEMh6h9ZrhLysHPtvWSzJ8g== X-Received: by 2002:a1c:3c55:: with SMTP id j82mr7450966wma.21.1622192794206; Fri, 28 May 2021 02:06:34 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:33 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Uwe Kleine-Koenig , linux-leds@vger.kernel.org Subject: [PATCH 02/15] leds: leds-gpio-register: Supply description for param 'id' Date: Fri, 28 May 2021 10:06:16 +0100 Message-Id: <20210528090629.1800173-3-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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-gpio-register.c:24: warning: Function parameter or member 'id' not described in 'gpio_led_register_device' Cc: Pavel Machek Cc: Uwe Kleine-Koenig Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-gpio-register.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c index b9187e71e0cf2..de3f12c2b80d7 100644 --- a/drivers/leds/leds-gpio-register.c +++ b/drivers/leds/leds-gpio-register.c @@ -11,6 +11,7 @@ /** * gpio_led_register_device - register a gpio-led device * @pdata: the platform data used for the new device + * @id: platform ID * * Makes a copy of pdata and pdata->leds and registers a new leds-gpio device * with the result. This allows to have pdata and pdata-leds in .init.rodata -- 2.31.1